On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > So 'DATABASE_NAME' should be the full name of a non-existant file. I > had thought they wanted the path to where the file was located. > > !!Works fine now!! > > Two problems for Django with Python 2.5
FYI, the 0.95 tarball on the site is pretty out-dated. It was made from svn revision 3491, while trunk is now at 4203. The relavent code is already on trunk in django.db.backends.sqlite3: try: try: from sqlite3 import dbapi2 as Database except ImportError: from pysqlite2 import dbapi2 as Database except ImportError, e: import sys from django.core.exceptions import ImproperlyConfigured if sys.version_info < (2, 5, 0): module = 'pysqlite2' else: module = 'sqlite3' raise ImproperlyConfigured, "Error loading %s module: %s" % (module, e) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---