>
>
> On Sep 3, 7:46 am, Jesse<adles...@gmail.com> wrote:
>> My server error is:
>>
>> TemplateSyntaxError: Caught ImproperlyConfigured while rendering:
>> 'django.db.backends.postgresql_psycopg2' isn't an available database
>> backend.
>> [Thu Sep 02 13:46:30 2010] [error] [client 127.0.0.1] Try using
>> django.db.backends.XXX, where XXX is one of:
>> [Thu Sep 02 13:46:30 2010] [error] [client 127.0.0.1] 'dummy',
>> 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3'
>> [Thu Sep 02 13:46:30 2010] [error] [client 127.0.0.1] Error was:
>> cannot import name utils
>
> Provide the full traceback.
>
> Sounds a bit like:
>
> http://code.djangoproject.com/ticket/12730
A settings.py that imports from other django applications... Ok, so
that's dangerous.
Hm. I also have two or three of those lines in my settings.py. I'm by
now convinced that "settings.py only gets loaded once so that's a nice
place to put it" is wrong. So I'm probably better off adding lines I
want run only once to one of my django applications' __init__py? I *do*
want to be sure they're called before my site starts answering requests.
Reinout
--
Reinout van Rees - reinout@vanrees.org - http://reinout.vanrees.org
Collega's gezocht!
Django/python vacature in Utrecht: http://tinyurl.com/35v34f9
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment