front and back-end web development, Leeds, UK


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:

Recent Blog Posts