
front and back-end web development, Leeds, UK
Richard's Blog - Design, coding and life in Japan
Error: No module named messagesdjango.contrib.contenttypes
Submitted by Richard on Tue, 06/22/2010 - 22:00I 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
- Testing controllers in Lithium 2nd Feb 12, 18:19
- Practical Internationalization in Lithium 31st Dec 11, 02:06
- Using OAuth in Lithium 30th Dec 11, 23:47
- How to add your own Tokens from CCK fields in Druapl 7 17th Jun 11, 04:49
- Weaving Lithium #li3 into a legacy PHP application incrementally 5th Oct 10, 11:54