#25819: Allow dumping sql without properly setup database connection
-------------------------------------+-------------------------------------
Reporter: siccegge | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Management | Version: 1.8
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by siccegge):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> ./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
New description:
./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
--
--
Ticket URL: <https://code.djangoproject.com/ticket/25819#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.c0efc7bd5a46b439dfed45eab9a08378%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.