Skip to content
This repository has been archived by the owner on Nov 25, 2017. It is now read-only.

Commit

Permalink
Again, Django does not support python 2.4, so we can assume users are…
Browse files Browse the repository at this point in the history
… using python 2.5 or higher
  • Loading branch information
mpdaugherty committed Oct 25, 2012
1 parent 1dc1c8b commit 96c783b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions chapter02.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,21 +290,8 @@ system offers a package called "python-psycopg2", "psycopg2-python",
Using Django with SQLite 3
--------------------------

If you're using Python version 2.5 or higher, you're in luck: no
database-specific installation is required, because Python ships with SQLite
support. Skip ahead to the next section.

If you're working with Python 2.4 or older, you'll need SQLite 3 -- *not*
version 2 -- from http://www.djangoproject.com/r/sqlite/ and the ``pysqlite``
package from http://www.djangoproject.com/r/python-sqlite/. Make sure you have
``pysqlite`` version 2.0.3 or higher.

On Windows, you can skip installing the former (the separate SQLite binaries),
because they're statically linked into the ``pysqlite`` binaries.

If you're on Linux, check whether your distribution's package-management system
offers a package called "python-sqlite3", "sqlite-python", "pysqlite" or
something similar.
You're in luck: no database-specific installation is required, because Python
ships with SQLite support. Skip ahead to the next section.

Using Django with MySQL
-----------------------
Expand Down

0 comments on commit 96c783b

Please sign in to comment.