Think I found a bug in the ManyRelatedManager that occurs when you try
to include a ManyToManyField relation in an admin edit page. I
personally tried to have the relational table/module as an inline
display of primary entity module. It seems to have been missing the
__unicode__ / __str__ methods. If you add the following code to the
ManyRelatedManager it seems to work fine.

        def __str__(self):
            return self.__unicode__()

        def __unicode__(self):
            return unicode(self._pk_val)

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to