SQLite DATABASE_ENGINE on Windows

Posted: January 28th, 2010 | Author: Davo | Filed under: Django | Tags: , , | No Comments »

I was having issues to use SQLite on Windows based machines.
The database was correctly creating with managy.py syncdb but I was not able to use it.
A quick fix was to edit the settings.py and specify a FULL path for the database.

DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = 'C:/path/to/thedb' # instead of 'thedb'

Hope this will solve your issue as well.