On Wednesday, May 18, 2011 2:26:21 AM UTC+1, Chris Seberino wrote:
>
> I have 3 classes that have a ManyToMany relation with the User class. 
>
> When I try to do syncdb I get this error.... 
>
> Error: One or more models did not validate: 
> mvc.course: 'users' has an m2m relation with model User, which has 
> either not been installed or is abstract. 
> mvc.homework: 'users' has an m2m relation with model User, which has 
> either not been installed or is abstract. 
> mvc.quiz: 'users' has an m2m relation with model User, which has 
> either not been installed or is abstract. 
>
> Not sure how to fix this or what means. 
>
> Chris


The error message is clear: you haven't installed the User model.

Add "django.contrib.auth" to INSTALLED_APPS in your settings.py.
--
DR. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to