On Nov 10, 9:21 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I get this error
> AttributeError: type object 'CM' has no attribute 'fields'
> and than
> AlreadyRegistered: The model List is already registered
>
> I see no error in models.py or admin.py, please help.
>
> http://dpaste.com/hold/89667/http://dpaste.com/89670/
> --------------------------------------------
>
> r/Delle

In this line:
    admin.site.register(AM, CM)
both AM and CM are models. You can't do that. Register them both in
separate calls, like you have with the other models.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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