Commit b6e5ba37 authored by fred's avatar fred

admin: add link to user password change form

parent 1f020a01
import django.contrib.auth.forms
from django.contrib.auth.forms import ReadOnlyPasswordHashField
from django.utils.translation import ugettext, ugettext_lazy as _
from .models import User
......@@ -7,3 +9,5 @@ class UserChangeForm(django.contrib.auth.forms.UserChangeForm):
class Meta:
model = User
password = ReadOnlyPasswordHashField(label=_("Password"),
help_text='<a href="password/">change</a>')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment