Yeah, your options are to use field injection or create you own page subclass =)
On Sat, Mar 29, 2014 at 12:07 PM, Cajoline <[email protected]> wrote: > Ok thank you, so if I understand well > this is the only way to add a field to form page types? > > Thank you > > Le samedi 29 mars 2014 02:37:39 UTC+1, Josh Cartmell a écrit : >> >> Hey Cajoline, I would use field injection to add the new fields you want >> to the current form class, https://mezzanine.jupo.org/ >> docs/model-customization.html#field-injection >> >> >> On Fri, Mar 28, 2014 at 5:23 PM, Cajoline <[email protected]> wrote: >> >>> I'll rephrase what I'd like to do :) >>> I would like to create my own custom content form page, to add one or >>> two additional fields. >>> >>> I tried to inherit the Page model but I have form fields that appear etc >>> (this is normal) and if I try to inherit the model Form I get an error >>> because apparently I can not get there directly. >>> >>> My question is how can I do to have inherited Page content model with >>> the ability to create form fields and options that exist in the Forms pages >>> >>> thank you, >>> >>> Regards >>> >>>> >>>> -- >>> 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 [email protected]. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
