#12447: MutliDB Documentation Errata ('BACKEND' vs 'ENGINE')
---------------------------+------------------------------------------------
 Reporter:  bryanveloso    |       Owner:  nobody    
   Status:  new            |   Milestone:  1.2       
Component:  Documentation  |     Version:  1.1       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 The new docs specify the following:

 {{{
 DATABASES = {
     'default': {
         'NAME': 'app_data',
         'BACKEND': 'django.db.backends.postgres_psycopg2',
         'USER': 'postgres_user',
         'PASSWORD': 's3krit'
     },
 }
 }}}

 `BACKEND` should be `ENGINE` as it throws a KeyError if the
 documentation's example is followed.

 PS: Also, `postgres_psycopg2` should be `postgresql_psycopg2`, giving an
 error of `Error was: No module named postgres_psycopg2.base` otherwise.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12447>
Django <http://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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to