Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to remove tight coupling with Django?? #468

Open
isedwards opened this issue Nov 20, 2022 · 1 comment
Open

Refactor to remove tight coupling with Django?? #468

isedwards opened this issue Nov 20, 2022 · 1 comment

Comments

@isedwards
Copy link

Feature Request

I'm looking for a generic Python package for database backups that I can use on all projects (not just Django).

I can't find anything suitable and I was wondering whether there may be any appetite to make django-dbbackup more loosely coupled to Django?

Describe the solution you'd like

I've not dug deep enough to know for sure whether this is sensible, but I think I'm suggesting decoupling BaseCommandDBConnector and BaseDbBackupCommand so that they can be used in plain Python or with other frameworks by using alternative base classes.

@Archmonger
Copy link
Contributor

To answer your question: Yes this it is possible to pull out database related features into a separate package.

While I personally don't have plans to do this, you are free to do this under the conditions of the license.

However, due a high severity issue within Jazzband, it is unlikely you'll be able to pull the project into this organization.

In fact, even if I tried to pull django-dbbackup outside of Jazzband right now, I'd likely be blocked by the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants