Hi Josh, Actually, I wanna add a captcha validator on the sign in form, that is mezzanine.accounts.forms.LoginForm. I use django-simple-captcha plugin, so I need a add a field to the LoginForm, but I don't wanna change mezzanine code. So, I see EXTRA_MODEL_FIELDS is easily used to add fileds to existing Model, what about for existing Form? I see LoginForm is not inherited from ModelForm, otherwise, I can add field to the Model.
Thanks. Wesley Hey Wesley, not that I'm aware of. What are you trying to do? > > On Sun, Oct 26, 2014 at 11:08 PM, Wesley <[email protected] <javascript:>> > wrote: > >> Hi all, >> I see there is a settings option named EXTRA_MODEL_FIELDS to add >> field to one Model. >> Is there one used for Form instead of Model? >> >> Thanks. >> Wesley >> >> -- >> 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] <javascript:>. >> 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.
