startproject command - need better error message
|Reported by:||dhivya23||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.3|
|Cc:||bmispelon@…, dhivya23, t.l.krajca@…||Triage Stage:||Unreviewed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
can startproject command throw a more useful error message ?
When I already have started a project called 'companyweb' and have set env variable, DJANGO_SETTINGS_MODULE to its settings file, and I do,
django-admin.py startproject mysite
Unknown command: 'startproject'
Type 'django-admin.py help' for usage
Can this message say something like,
"Unknown command: 'startproject'. Project 'companyweb' is the current project. "
Change History (6)
comment:1 Changed 2 years ago by bmispelon
- Cc bmispelon@… added
- Component changed from Uncategorized to Core (Management commands)
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Resolution set to needsinfo
- Status changed from new to closed