Helpful Hints & Companies to help your Customers

Saturday, July 23, 2005

SQLite 3 support

Source:

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!

0 Comments:

Post a Comment

<< Home