confusion about choosing the database user name (Postgresql/psycopg2)

2012-01-27 Thread MiddleForkGIS
I'm a little confused about the choice of the database user to specify in the settings.py configuration file. On the one hand, if I set the user to be 'www-data' (the Apache2 user), I can serve pages to the public just fine, but cannot use the admin site. DatabaseError at /admin/ permission denie

Re: db_schema support was broken by Debian upgrade: 'class Meta' got invalid attribute(s): db_schema

2010-07-09 Thread MiddleForkGIS
Thank you, I'm sure you're essentially correct, with one wrinkle. What I believe happened was that the Debian upgrade resulted in a change from python 2.5 to 2.6, and so I believe that what happened was that resulted in the pythonpath changing as well, and pointing to the Debian 'python-django' pac

db_schema support was broken by Debian upgrade: 'class Meta' got invalid attribute(s): db_schema

2010-07-04 Thread MiddleForkGIS
During an update of Debian ("squeeze/sid") last week, something broke the previously functional Postgresql schema syntax on my site(s). Up until the update, this was working fine: class Meta: db_schema = "world" db_table = "country" Once I performed the update, the following error occurs: F