I tried to create a subclass of Form model like this: 

class ContactPage (Page, Form): 
>      "" "
>      Representing A page of the home page 
>      "" "
>      RichTextField address = (_ ('Info'), null = True, blank = True) 
>      class Meta: 
>          verbose_name = _ ("Form & Info") 
>          verbose_name_plural = _ ("Form & Info") 


But I get the following error: 

*TypeError: Error When calling the metaclass bases *
*     Can not create a consistent method resolution *

Do you have any idea? thank you

Le mercredi 26 mars 2014 20:01:44 UTC+1, Cajoline a écrit :
>
> Hello, 
> I would like to create a subclass model of form page, but I can not add 
> custom fields. 
>
> Create a subclass of a normal page I have no problem but for the form page 
> I can not do it, because the fields to create form is not displayed 
>
> Would you have an example of a subclass of page form 
>
> Thank you
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to