Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
8a62152b
Commit
8a62152b
authored
Jan 04, 2022
by
Bryan BRANCOTTE
Browse files
hide password, as there is another way to update the password
parent
adcec9c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
basetheme_bootstrap/forms.py
View file @
8a62152b
...
...
@@ -60,9 +60,11 @@ class UserCreationFormWithMore(CleanUsernameAndSuggestReset, auth_forms.UserCrea
class
MyUserChangeForm
(
CleanUsernameAndSuggestReset
,
auth_forms
.
UserChangeForm
):
password
=
None
class
Meta
:
model
=
get_user_model
()
fields
=
(
"username"
,
"email"
,
"first_name"
,
"last_name"
,
"password"
)
fields
=
(
"username"
,
"email"
,
"first_name"
,
"last_name"
)
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
().
__init__
(
*
args
,
**
kwargs
)
...
...
setup.py
View file @
8a62152b
...
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup
(
name
=
'django-basetheme-bootstrap'
,
version
=
'0.2.7
6
'
,
version
=
'0.2.7
7
'
,
description
=
'Django Basetheme Bootstrap'
,
long_description
=
readme
,
author
=
'Bryan Brancotte'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment