Modify ↓
Ticket #439 (assigned defect)
Command responses should examine management command name
| Reported by: | anonymous | Owned by: | andrew |
|---|---|---|---|
| Priority: | trivial | Milestone: | 1.0 |
| Component: | commands | Version: | 0.7 |
| Keywords: | Cc: |
Description
I use virtualenv, and don't have a ./manage.py file: this makes it easy to run commands from anywhere (and DJANGO_SETTINGS_MODULE is always set in my virtualenv shell).
However, the south admin commands still tell me to use ./manage.py migrate.
It would be great if they would know how the management command that is currently running was called, and suggest the call of the next command the same way.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Well, we can tell the name of the current command from sys.argv[0], but if you're using python, e.g. python manage.py, that only contains manage.py.
Still, it's worth implementing. Scheduling for 1.0.