Hi and thanks for reply! The link you posted (which is the same as the one I posted) does not answer my question. For now, I only need to change the signup/edit forms but that will probably change in the future. Even though, if I wanted just to change the signup/edit forms, I cant change the default widget for a field, which is quite important for me. Any idea how achieve that?
On Saturday, January 18, 2014 11:31:41 PM UTC+1, Josh Cartmell wrote: > > Hey mapman, do you need multiple custom forms or do you just want to > customize the sign up/edit profile forms? > > If it's the latter take a look at > https://mezzanine.jupo.org/docs/user-accounts.html#public-user-accountsas > there are quite a few details on customizing things. > > > On Sat, Jan 18, 2014 at 2:15 PM, <[email protected] <javascript:>> wrote: > >> >> Hi! >> >> I want to extend the base mezzanine.accounts user class. As I learned in >> http://mezzanine.jupo.org/docs/user-accounts.html, I have to define my >> class and fields, and then specify the class in AUTH_PROFILE_MODULE. So >> far, so good. >> >> What is the proper approach when it comes to creating custom forms? I >> tried to subclass mezzanine.accounts.forms.ProfileForm but it creates a >> number of problems, for example: how do I change the default widget for a >> formfield which is defined in my custom model class? >> >> I'm inexperienced and I often have trouble telling if something I come up >> is a terrible idea (from design/pattern/best practices point of view), so >> please bear with me :-) Any help appreciated, >> cheers! >> >> -- >> 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/groups/opt_out. >> > > -- 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/groups/opt_out.
