attractive, usable web applications


Richard's Blog - Design, coding and life in Japan

Richard

Error: No module named messagesdjango.contrib.contenttypes

I am not going to heavily blog about my experiences with Python and Django, but times that an error stumps me I will note it here briefly to help out with others who have similar problems. 

When installing the new messages module in Django 1.2 I got the following error

Error: No module named messagesdjango.contrib.contenttypes

The culprit was the forgotten comma in the installed apps list... oops...

INSTALLED_APPS = (
  'django.contrib.messages'
  'django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'django.contrib.sites',
  'pta.extras',
  'south', 
)

Tags:

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Recent Blog Posts