waliwali / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

Do not require installation into django.db for Django backend #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
django.db is not a setuptools namespace package, so installation of the Django 
backend is likely to 
be problematic. At any rate, Django can use database backends from any location 
on the Python 
path (DATABASE_ENGINE can be either the name of a bundled backend, or a dotted 
Python module 
path to a third-party backend), specifically to enable the use of third-party 
backends.

Original issue reported on code.google.com by ubernost...@gmail.com on 20 Jun 2009 at 7:07

GoogleCodeExporter commented 9 years ago
Just wanted to add reference to DATABASE_ENGINE which confirms this: 

   http://docs.djangoproject.com/en/dev/ref/settings/#database-engine

I suggest following package name/location: 
   ibm_db.django (or something similar, i.e. short and easy to remember)
and django settings will look like: 
   DATABASE_ENGINE    = 'ibm_db.django'

(if you do this, don't forget to change doc ;) at
http://code.google.com/p/ibm-db/wiki/ibm_db_django_README)

Original comment by trebor74hr@gmail.com on 25 Jun 2009 at 9:40

GoogleCodeExporter commented 9 years ago
Thanks for pointing this out. We have received similar requests and have made 
the 
changes for solving the namespace problem. The next release would take care of 
this.

Thanks and Regards
Tarun Pasrija
Open Source Application Development
IBM India Software Labs

Original comment by tarun.pa...@in.ibm.com on 1 Jul 2009 at 7:15

GoogleCodeExporter commented 9 years ago
For your next release you would be able to install using an ibm_db_django egg 
and you 
would be able to point out django settings like

DATABASE_ENGINE='ibm_db_django'

Closing this issue. Thanks

Original comment by tarun.pa...@in.ibm.com on 1 Jul 2009 at 7:17

GoogleCodeExporter commented 9 years ago

Original comment by tarun.pa...@in.ibm.com on 28 Aug 2009 at 10:15