Re: How do I get rid of the "Something object" text in inlines?
On Sep 16, 3:06 pm, hejsan <hr.bja...@gmail.com> wrote:
> When adding an inline object, there is always the text "Something
> object" displayed above the first column.
> (Replace "Something" with the classname of the inline object)
>
> How do I get rid of that? Please don't tell me I have to override the
> template..
>
> Thanks
To get rid of it, yes you do. To replace it with something useful,
just define the __unicode__ method on the related model.
--
DR.
--
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