id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 14143 Database problems and import error of django.contrib.messages Robbington nobody "Hi, I am using django1.2 and django-cms on ubuntu 10 Have been using and teaching myself django for a few months now with minimal complaint, but I've just started a new project and things have been acting very strangly. Basically I started a new project, configured everything and linked it to my database, sync-ed everything and got the admin working fine. Wrote a new blog app worked out the kinks by importing it in the manage.py shell until it all worked fine and added it to my installed apps and went to sync but get: {{{ django.core.exceptions.ImproperlyConfigured?: You haven't set the DATABASE_ENGINE setting yet. }}} Now I know what this means normally, but as I said I had previously synced the admin and got everything working, all that I had changed was adding the model to my installed apps. Here is the exert from my settings.py: {{{ DATABASES = { 'default': { 'ENGINE': 'sqlite3', ...... }}} About the same time manage.py shell throws up no module named messages. Checked and for some reason django.contrib.messages is no longer on the python path. Added it location to .pth file in the dist-packages, but still it cant find it. I had a similar problem importing contrib.page module and had to re-install everything but it finds pages fine now. Any ideas? " closed Uncategorized 1.2 invalid Unreviewed 0 0 0 0 0 0