Thanks for the answer Steve. I'm Django and Python novice and here is
what I was try. But it doesn't work.

from django.contrib.flatpages.models import FlatPage

class NewFlatpage(FlatPage):

    class Meta:
        verbose_name_plural = "New_name"



On Aug 26, 4:39 am, Steve Holden <[email protected]> wrote:
> On 8/25/2010 8:26 PM, Goran wrote:> I need another verbose_name_plural for 
> Flat pages so i need to
> > overrideclassmetafor it right? How can I do that?
>
> [Caveat: this is a guess from general Python knowledge]
>
> Have you tried creating a subclass of Flatpage, whose body simply
> declares aMetaclasswhich is a subclass of Flatpage.Meta?
>
> regards
>  Steve
> --
> DjangoCon US 2010 September 7-9http://djangocon.us/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to