--
Ticket URL: <https://code.djangoproject.com/ticket/31151>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => wontfix
Comment:
Hi. Thanks for the report.
In all but this simplest cases, the credentials in settings.py **are not**
sufficient to enable database creation too. Given that in those cases
creating the DB doesn't involved much more than a `createdb` on the
command line or a `CREATE DATABASE...;` from the DB shell, and that
creating a DB is a relatively rare event, easily scripted, it's been
considered as not worth the complication, and security implications to add
this.
Some history: #4528, https://groups.google.com/d/topic/django-
developers/gX8gJTYRGqI/discussion, https://groups.google.com/d/topic
/django-developers/5WO3oh2KTiA/discussion
(But I couldn't find an exact duplicate, somewhat amazingly)
--
Ticket URL: <https://code.djangoproject.com/ticket/31151#comment:1>