Hi,
I have a model like:
Class MyModel(models.Model):
content = content.ForeignKey(ContentType)
And in the admin interface I have a dropdown box showing all the content
types I have. Works perfect.
The problem is that on that dropdown box, I have for each item there the
"name" attribute of the content type. Is there any way to override this
behaviour in order to get something like "name (app_name/model)" as the
description so that the user can know to which application the model
belongs to?
Thanks a lot.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@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.