Hi all,
  I am using django admin to show my tables.
  I used ManyToMany field, and facing this error.

        <class 'someadmin.articles.models.article_genre'> instance needs to
have a primary key value before a many-to-many relationship can be
used.

 Actually I am trying to create new record of article which has many
to many field to article_genre table...
First of all the error is wrong. Next how to over come it.
I searched the group, and could see some solutions with out using
admin interface....but could not able to
solution in which I can still use admin interface...
  Please let me know if some one have used many to many field and
could still see their tables using django
admin..

Thanks,
Sateesh.

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