Opened 9 years ago
Last modified 9 years ago
#25819 closed New feature
Allow dumping sql without properly setup database connection — at Version 1
Reported by: | Christoph Egger | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | 1.8 |
Severity: | Normal | Keywords: | |
Cc: | Christoph Egger | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
./manage.py sql $appname currently opens a full database connection to the server.
This is inconvenient for example when developing against a local sqlite and wanting to expect the resulting database scema which would e used on the production postgres system. having your local development codebase copied to the production system and having it there connect to the production database isn't really an alternative.
This happens e.g. when you codevelop non-django-ORM consumers on the same database