(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
"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
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
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
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
5 matches
Mail list logo