On Fri, Dec 16, 2011 at 5:44 PM, J. Marc Edwards
<marc.edwa...@nimbisservices.com> wrote:
>
> # sqlite database for testing
> DATABASES = {
>     'default': {
>         'ENGINE': 'django.db.backends.sqlite3',
>         'NAME': os.path.join(PROJDIR, 'db.sqlite'),
>     }
> }
>
> SOUTH_DATABASE_ADAPTERS = {
>     'default': "south.db.mysql"
> }

You are:

* Telling Django to use the SQLite3 backend
* South to use its MySQL support code.
* Getting the following text in the next to last line of the traceback:

File 
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg/south/db/mysql.py",
line 38, in connection_init
    cursor = self._get_connection().cursor()

Note the python module it mentions is /south/db/mysql.py,
that's what tracebacks are great for, if you read them
you quickly can get clues about what's wrong with your setup.

-- 
Ramiro Morales

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to