Re: model name ending with an 's'

2009-07-18 Thread James Bennett
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

Re: model name ending with an 's'

2009-07-18 Thread ankit rai
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

Re: model name ending with an 's'

2009-07-18 Thread Earl Lapus
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

Re: model name ending with an 's'

2009-07-17 Thread Alex Gaynor
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

model name ending with an 's'

2009-07-17 Thread Earl Lapus
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