#18602: Misleading error when NAME omitted for Postgres DB
--------------------------------------------------+--------------------
     Reporter:  Kristian Glass <djangoproject@…>  |      Owner:  nobody
         Type:  Cleanup/optimization              |     Status:  new
    Component:  Database layer (models, ORM)      |    Version:  1.4
     Severity:  Normal                            |   Keywords:
 Triage Stage:  Unreviewed                        |  Has patch:  1
Easy pickings:  0                                 |      UI/UX:  0
--------------------------------------------------+--------------------
 Minor issue, but if you don't set a `NAME` in `settings.DATABASES` for a
 db with the `postgresql_psycopg2` backend, you get the following error:

 `You need to specify NAME in your Django settings file.`

 I've seen this confuse at least two people (resulting in them trying to
 set `settings.NAME`...!) so propose a change to:

 `You need to specify the database NAME in your Django settings file.`

 in a similar style to the sqlite3 backend.

 Pull request at https://github.com/django/django/pull/196

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18602>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to