Hi Greg and Everyone, Do you happen to know where the documentation on this is.
The odd thing is the code works fine with the DATABASE_ENGINE set to '' 99% of the time. It's only a few times that it fails. I suspect it's a write failure and I simply have to perform a retest, but I don't see the recommended solution for this. Also I tried what you said sqlite3 But the error now is: <class 'django.core.exceptions.ImproperlyConfigured'>: Error loading sqlite3 module: No module named pysqlite2 Traceback (most recent call last): File "/base/data/home/apps/race-reviews/1.341587830625416005/ django_bootstrap.py", line 70, in <module> main() File "/base/data/home/apps/race-reviews/1.341587830625416005/ django_bootstrap.py", line 67, in main util.run_wsgi_app(application) File "/base/python_runtime/python_lib/versions/1/google/appengine/ ext/webapp/util.py", line 97, in run_wsgi_app run_bare_wsgi_app(add_wsgi_middleware(application)) File "/base/python_runtime/python_lib/versions/1/google/appengine/ ext/webapp/util.py", line 115, in run_bare_wsgi_app result = application(env, _start_response) File "/base/python_runtime/python_lib/versions/third_party/ django-0.96/django/core/handlers/wsgi.py", line 184, in __call__ self.load_middleware() File "/base/python_runtime/python_lib/versions/third_party/ django-0.96/django/core/handlers/base.py", line 29, in load_middleware mod = __import__(mw_module, {}, {}, ['']) File "/base/python_runtime/python_lib/versions/third_party/ django-0.96/django/contrib/sessions/middleware.py", line 2, in <module> from django.contrib.sessions.models import Session File "/base/python_runtime/python_lib/versions/third_party/ django-0.96/django/contrib/sessions/models.py", line 3, in <module> from django.db import models File "/base/python_runtime/python_lib/versions/third_party/ django-0.96/django/db/__init__.py", line 11, in <module> backend = __import__('django.db.backends.%s.base' % settings.DATABASE_ENGINE, {}, {}, ['']) File "/base/python_runtime/python_lib/versions/third_party/ django-0.96/django/db/backends/sqlite3/base.py", line 18, in <module> raise ImproperlyConfigured, "Error loading %s module: %s" % (module, e) <class 'django.core.exceptions.ImproperlyConfigured'>: Error loading sqlite3 module: No module named pysqlite2 Thanks, Ralph On Apr 28, 6:38 pm, Greg <g.fawc...@gmail.com> wrote: > Not sure which thread this is the tail of, but it seems obvious to me > that you haven't set theDATABASE_ENGINE. Try eding your settings.py > and changing the line to: > > DATABASE_ENGINE= "sqllite3" > > Sorry if I haven't understood your problem correctly. > > Cheers > Greg. > > On Apr 29, 9:41 am,fedex1<fed...@gmail.com> wrote: > > > The settings.py file is: > > ... > >DATABASE_ENGINE= '' # 'postgresql_psycopg2', 'postgresql', > >'mysql', 'sqlite3' or 'ado_mssql'. > > ... > > django-0.96/django/db/backends/dummy/base.py", line 13, in complain > > raise ImproperlyConfigured, "You haven't set > > theDATABASE_ENGINEsetting yet." > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.