Re: Using custom form class for the django.contrib.auth password_change view

2009-07-06 Thread Alex S.
After reading a bit in the source code I remembered that django apps don't use any magic and after that found the (easy) solution. Just extend your own class from the auth form PasswordChangeForm, use for example the "clean" method in your new form and write your own view for it. The

Using custom form class for the django.contrib.auth password_change view

2009-07-04 Thread Alex S.
Hi folks, as the title says I want to use my own form class for the password change process supplied by django.contrib.auth. Do you know of any way to do this without rewriting the code of this view (and specifying another argument for the form class to be used)? There are time where I want to