Thank You, Thank You, Thank You !!

-----Ursprüngliche Nachricht-----
Von: "Daniel Roseman" <[EMAIL PROTECTED]>
Gesendet: 10.11.08 11:17:52
An: Django users <django-users@googlegroups.com>
Betreff: Re: No clue what to do !


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.



-- 
--------------------------------------------
Mit freundlichen Grüßen
Detlef Boddin

Elly-Heuss-Knapp Weg 14
D-31141 Hildesheim (Germany)

<mailto:[EMAIL PROTECTED]>
Telefon:  +49/(0)5121/86226
Handy: +49/(0)173/629 1228

Fax & Anrufbeantworter  01212-6-112-60-51958
--------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
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