Hi,

Aha, that's embarrassing...yes, it was the lowercase M.

The extra spacing appears to be fixed now.

However, capitalisation still seems a bit funny.

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:

<https://lh4.googleusercontent.com/-NuvqTprAkbM/UgxS0cVyvrI/AAAAAAAAXxk/-KzZKnrMiZk/s1600/Screen+Shot+2013-08-15+at+2.00.38+PM.png>
However, strangely enough the verbose_name is capitalised correctly:

<https://lh4.googleusercontent.com/-D95Sku29KNk/UgxTFcXOyRI/AAAAAAAAXxs/Aq9c2Pn6xDM/s1600/Screen+Shot+2013-08-15+at+2.03.12+PM.png>
Is there any way to fix that issue?

And DRF is just being completely random, but I guess I'll ned to look into 
that to see where it's getting it's verbose form from:

<https://lh3.googleusercontent.com/-SyhDu2sXyRM/UgxTmrTck4I/AAAAAAAAXx4/3IxlNTqQHZw/s1600/Screen+Shot+2013-08-15+at+2.05.22+PM.png>

Cheers,
Victor

On Thursday, 15 August 2013 12:50:40 UTC+10, Ramiro Morales wrote:
>
> On Wed, Aug 14, 2013 at 11:46 PM, Victor Hooi 
> <[email protected]<javascript:>> 
> wrote: 
> > Hi, 
> > 
> > I have a Django model: 
> > 
> >> class iOSClient(models.Model): 
> >>     ... 
> >>     class meta: 
> >>         ... 
> >>         verbose_name = 'iOS client' 
> >>         verbose_name_plural = 'iOS clients' 
> > 
> > 
> > However, when this model appears in the Django Admin, or in say, Django 
> Rest 
> > Framework, the human-readable name seems to given as "I os client" or "i 
> os 
> > client". 
> > 
> > Is there any way to easily suppress this behaviour? 
>
> These textual representations should be obeying what you specified with 
> the verbose_name* options. 
>
> Are you actually using "meta"? It should be Meta with a capital M. 
>
> Can you try that and tell us if that solves things for you? 
>
> -- 
> Ramiro Morales 
> @ramiromorales 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to