Commit 8a62152b authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

hide password, as there is another way to update the password

parent adcec9c6
...@@ -60,9 +60,11 @@ class UserCreationFormWithMore(CleanUsernameAndSuggestReset, auth_forms.UserCrea ...@@ -60,9 +60,11 @@ class UserCreationFormWithMore(CleanUsernameAndSuggestReset, auth_forms.UserCrea
class MyUserChangeForm(CleanUsernameAndSuggestReset, auth_forms.UserChangeForm): class MyUserChangeForm(CleanUsernameAndSuggestReset, auth_forms.UserChangeForm):
password = None
class Meta: class Meta:
model = get_user_model() model = get_user_model()
fields = ("username", "email", "first_name", "last_name", "password") fields = ("username", "email", "first_name", "last_name")
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
...@@ -7,7 +7,7 @@ readme = open('README.rst').read() ...@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup( setup(
name='django-basetheme-bootstrap', name='django-basetheme-bootstrap',
version='0.2.76', version='0.2.77',
description='Django Basetheme Bootstrap', description='Django Basetheme Bootstrap',
long_description=readme, long_description=readme,
author='Bryan Brancotte', author='Bryan Brancotte',
Supports Markdown
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