Re: Custom password validation

2015-04-14 Thread Larry Martell
(self.cleaned_data['password1']) class UserAdmin(auth_admin.UserAdmin): change_password_form = AdminPasswordChangeForm add_form = UserCreationForm # Re-register UserAdmin admin.site.unregister(auth_models.User) admin.site.register(auth_models.User, UserAdmin) > > Am Freitag, 10. April 201

Re: Custom password validation

2015-04-14 Thread Frank Bieniek
"pass_form": PasswordChangeForm}, name = 'userena_password_change'), ... cheers Frank Am Freitag, 10. April 2015 21:15:17 UTC+2 schrieb larry@gmail.com: > > I am trying to add custom password validation to the create user and > change password admin forms. I did not s

Re: Custom password validation

2015-04-11 Thread Larry Martell
lates the DRY principle and I just can't believe there is not an easier way to do this. But thanks for replying. Em sex, 10 de abr de 2015 às 19:39, Larry Martell > escreveu: > >> On Fri, Apr 10, 2015 at 3:14 PM, Larry Martell > > wrote: >> > I am trying to add cu

Re: Custom password validation

2015-04-10 Thread Helton Alves
I hope to have helped you! Em sex, 10 de abr de 2015 às 19:39, Larry Martell escreveu: > On Fri, Apr 10, 2015 at 3:14 PM, Larry Martell > wrote: > > I am trying to add custom password validation to the create user and > > change password admin forms. I did not see anything in t

Re: Custom password validation

2015-04-10 Thread Larry Martell
On Fri, Apr 10, 2015 at 3:14 PM, Larry Martell wrote: > I am trying to add custom password validation to the create user and > change password admin forms. I did not see anything in the django docs > about how to do this. From what I read on stackoverflow and other > sites it see