SQLite 3 support

Posted by Jacob Kaplan-Moss on July 21, 2005

I've just checked in initial support for using Django on top of the SQLite 3 database (it's in revision 288). While it's been tested a little bit, there are possibly still bugs, so please file a ticket if you find any rough edges.

This change should make it very simple to get up and running with Django quickly; no need to set up a database, muck with permissions, or what have you.

It's easy to use: in your settings file just set DATABASE_BACKEND to sqlite3 and set DATABASE_NAME to the full path to the database file; the rest of the database settings are ignored by the SQLite backend. You'll need to have SQLite 3 and pysqlite2 installed.

Enjoy!

Back to Top