Friday, June 11, 2010

Re: Model named FOOD_DES shows as "foo d_des" in admin

Hello Dan,

On Jun 11, 11:48 am, Dan Harris <dih0...@gmail.com> wrote:

> If verbose_name isn't provided the docs say that "Django will use a
> munged version of the class name: CamelCase becomes camel case."

Thanks again for the info.

> This
> might explain your problem, it looks at FOOD_DES and assumes that the
> first F and first O are camel cased words and splits them into two
> words, hence the space.

This code < http://code.djangoproject.com/browser/django/trunk/django/db/models/options.py
> could be the source of where the space is coming from. I'm just
about to run some tests...

Toodle-loooooooooo............
creecode

--
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


Real Estate