Also, just as a general bit of style advice: the usual convention is
that a model name should be the singular form.
For more information, consult:
http://docs.djangoproject.com/en/dev/internals/contributing/#coding-style
http://www.python.org/dev/peps/pep-0008/
--
"Bureaucrat Conrad, you are
in side ur class define
class Meta:
verbose_name_plural = "name which u want to be displayed on screen"
for more details see docs class Meta options
On Sat, Jul 18, 2009 at 11:22 AM, Earl Lapus wrote:
> hi,
>
> I have a model named 'Services'. I added it to the
On Sat, Jul 18, 2009 at 1:54 PM, Alex Gaynor wrote:
>
>
> You can provide verbose name, and verbose name plural to control that:
> http://docs.djangoproject.com/en/dev/ref/models/options/#verbose-name
>
> Alex
>
>
It works! Thanks a lot!
--
There are seven words in this
On Sat, Jul 18, 2009 at 12:52 AM, Earl Lapus wrote:
> hi,
>
> I have a model named 'Services'. I added it to the admin page and an extra
> 's' was appended to the name (see attached file).
> I grep'd through my project directory and I'm pretty sure that there are no
> text
hi,
I have a model named 'Services'. I added it to the admin page and an extra
's' was appended to the name (see attached file).
I grep'd through my project directory and I'm pretty sure that there are no
text that matches 'Servicess'.
So, is django the one altering the model name? If so, is
5 matches
Mail list logo