I tried to switch an existing Django app from sqlite3 to Postgres. I know the 
database stuff is working because I can run syncdb and South migrations, as 
well as external scripts that use my models. However, when I actually try to 
load any of the pages in the browser, I get the error below. If I simply change 
the database connection info back to sqlite3 then everything works fine. I've 
tried deleting and re-creating the Postgres database, but it doesn't change 
anything.

Python 2.5.4, Django 1.1 running on WebFaction.

Thanks,
Shawn




Traceback (most recent call last):

 File ".../lib/python2.5/django/core/handlers/base.py", line 83, in get_response
   request.path_info)

 File ".../lib/python2.5/django/core/urlresolvers.py", line 218, in resolve
   sub_match = pattern.resolve(new_path)

 File ".../lib/python2.5/django/core/urlresolvers.py", line 125, in resolve
   return self.callback, args, kwargs

 File ".../lib/python2.5/django/core/urlresolvers.py", line 137, in 
_get_callback
   raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" % (func_name, 
mod_name, str(e))

ViewDoesNotExist: Tried main in module myproject.webstore.views. Error was: 
'NoneType' object has no attribute 'fetchall'

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to