mezzanine database_engine help

97 views
Skip to first unread message

Diacre Bayishime

unread,
Jun 18, 2012, 7:08:29 PM6/18/12
to Mezzanine Users
Hi guys, I have python2.7 and django1.4 installed and I was trying to
run my first mezzanine project but it gave me an error.

"Settings" object has no attribute "DATABASE_ENGINE"


I can't even access the admin page.

Any ideas?

zgohr

unread,
Jun 18, 2012, 9:34:20 PM6/18/12
to mezzani...@googlegroups.com
Your settings.py does not likely define a database. I recommend going through the Django tutorial. If you want to save time, here is the database setup portion: https://docs.djangoproject.com/en/dev/intro/tutorial01/#database-setup

Gary Reynolds

unread,
Jun 18, 2012, 9:41:55 PM6/18/12
to mezzani...@googlegroups.com
Can you give a longer traceback?

You probably have some code, potentially in a third-party application, which is trying to do:

from django.conf import settings
settings.DATABASE_ENGINE

If you drop back to Django 1.3.1 this would probably not be an issue, because the DATABASE_ENGINE was still valid (although deprecated) but in 1.4 it is (I think) no longer available.

Regards,
Gary
Reply all
Reply to author
Forward
0 new messages