Saturday, February 6, 2010

Re: ModelAdmin.get_readonly_fields with ForeignKey's

On Sat, Feb 6, 2010 at 6:16 AM, Rishabh Manocha <rmanocha@gmail.com> wrote:
[snip]
While this works just fine, the one problem I'm having is that instead of showing the title of the book (i.e. - calling Book.__unicode__), the admin simply shows the primary key value of the Book.


Sounds like:

http://code.djangoproject.com/ticket/12654

Which was fixed in r12366 just a few days ago. If you upgrade to the beta release the problem should be fixed.

Karen

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate