Wednesday, August 14, 2013

Re: Model verbose name appears to split up on capitalisation (e.g. "iOS") - any way to suppress this?

Hi,

That works =):

I just found the same thing mentioned on SO as well:

http://stackoverflow.com/a/9111694

Hmm, I'm guessing this is a known gotcha and workaround, right? Is it documented anywhere in the Django docs, or is it considered too much of an edge case?

Cheers,
Victor

On Thursday, 15 August 2013 15:08:00 UTC+10, Mike Dewhirst wrote:
On 15/08/2013 2:06pm, Victor Hooi wrote:
> For example, verbose_name-Plural on the main admin page (/admin) still
> seems to insist on capitalising the first "i" - as in, it appears as
> "IOS clients", rather than "iOS clients", as it's set in class Meta:
>

Try verbose_name = " iOS Clients" with a leading space

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate