#5454: Using a user-built DB backend
----------------------------------------------------+-----------------------
   Reporter:  George Vilches <[EMAIL PROTECTED]>  |                Owner:  
nobody          
     Status:  new                                   |            Component:  
Database wrapper
    Version:  SVN                                   |           Resolution:     
             
   Keywords:  database backend                      |                Stage:  
Unreviewed      
  Has_patch:  1                                     |           Needs_docs:  0  
             
Needs_tests:  0                                     |   Needs_better_patch:  0  
             
----------------------------------------------------+-----------------------
Changes (by George Vilches <[EMAIL PROTECTED]>):

  * has_patch:  0 => 1

Comment:

 The provided patch allows you to reference the backend in your settings.py
 file by putting a module path in DATABASE_ENGINE.
 
 An example (assume I have an package in my path called 'db_backends',
 which contains a package called test1 that contains a fully-involved
 backend):
 
 #DATABASE_ENGINE = 'mysql'
 DATABASE_ENGINE = 'db_backends.test1'
 DATABASE_NAME = 'test_db'
 DATABASE_USER = 'test_user'
 
 Either of the above DATABASE_ENGINE statements work with this patch.  If
 you provide a package that doesn't exist, Django fails and returns the
 error message it always has.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5454#comment:2>
Django Code <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 [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