#25304: Trying to create a super user before first migrate raise a database
error
-------------------------------------+-------------------------------------
Reporter: mlorant | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: contrib.auth | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by mlorant):
I agree with you, a developer should understand that a missing table on a
Django default command means the database has not been created yet.
However, I sometimes answer to question even more... easy *cough*... (like
"Why my page is not working and throw `name 'url' is not defined` in
urls.py").
After some thoughts, the idea to raise the exception again with a hint
seems more friendly for both usages (new Django users and skilled one),
but it is not urgent at all. Also, it needs to establish a list of
commands to improve...
--
Ticket URL: <https://code.djangoproject.com/ticket/25304#comment:3>
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/065.35a0393721d080a0853a82d3917c8dd1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.