I believe you can use :
def __unicode__(self)
return 'Name you'd like without the s'
for each model and this will be used instead.
On 10 Sep 2011, at 14:40, Gillwill wrote:
> Apparently the Django default is to append the letter "s" to the end
> of the model name for each listed under a given application on the
> Site Administration page. (It does this in the tutorial sample site as
> well - e.g. naming "poll" "polls", etc...)
>
> Is there any way to get rid of that?
>
> I would think there would be, but I've yet to find in the default
> admin templates or code where it is doing this.
>
> Any help appreciated.
>
> -Gil
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> 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.
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.