You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to have been a regression with issue #62 and #64 using Django==1.10.3 and django-authtools==1.5.0
As a workaround i did this custom form (without the translation _):
from django.contrib.auth.forms import UserChangeForm as DjangoUserChangeForm
from authtools.forms import UserChangeForm
class CustomAdminUserChangeForm(UserChangeForm):
def __init__(self, *args, **kwargs):
super(CustomAdminUserChangeForm, self).__init__(*args, **kwargs)
if not self.fields['password'].help_text:
self.fields['password'].help_text = (
"Raw passwords are not stored, so there is no way to see this"
" user's password, but you can change the password using"
" <a href=\"../password/\">this form</a>.")
The text was updated successfully, but these errors were encountered:
There seems to have been a regression with issue #62 and #64 using
Django==1.10.3
anddjango-authtools==1.5.0
As a workaround i did this custom form (without the translation
_
):The text was updated successfully, but these errors were encountered: