Django

Code

Ticket #7857 (new)

Opened 2 years ago

Last modified 9 months ago

manage.py shell, dbshell funtionality

Reported by: Sanha Assigned to: nobody
Milestone: Component: django-admin.py
Version: SVN Keywords: manage.py, testserver, shell, dbshell
Cc: Triage Stage: Design decision needed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

manage.py testserver is good funtion to test and develop application.

it recreate database 'test_' + database name.

when using testserver manage.py shell or manage.py dbshell connect original database.

I think that some option is useful to connect 'test_' + database at this time.

But, I can't find option like that.

Attachments

Change History

07/20/08 18:58:35 changed by Sanha

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

for example these is useful to test.

manage.py testshell
manage.py testdbshell
}}

07/22/08 04:43:45 changed by mir

  • stage changed from Unreviewed to Design decision needed.
  • milestone set to post-1.0.

09/10/08 00:22:33 changed by adrian

  • component changed from Tools to django-admin.py.

02/25/09 13:51:44 changed by

  • milestone deleted.

Milestone post-1.0 deleted

05/11/09 15:13:23 changed by bmihelac

For now you can use testshell command that I just assembled:

http://www.djangosnippets.org/snippets/1500/


Add/Change #7857 (manage.py shell, dbshell funtionality)




Change Properties
Action