Skip to content

Commit

Permalink
update user form
Browse files Browse the repository at this point in the history
  • Loading branch information
gothack329 committed Feb 24, 2018
1 parent 409034a commit 8330601
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
Binary file modified db.sqlite3
Binary file not shown.
Binary file removed userpage/.views.py.swp
Binary file not shown.
Binary file modified userpage/__pycache__/models.cpython-36.pyc
Binary file not shown.
Binary file modified userpage/__pycache__/views.cpython-36.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion userpage/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def save_user_profile(sender, instance, **kwargs):
class UserForm(ModelForm):
class Meta:
model = User
fields = ('username', 'first_name', 'last_name', 'email')
fields = ('first_name', 'last_name', 'email')

class ProfileForm(ModelForm):
class Meta:
Expand Down

0 comments on commit 8330601

Please sign in to comment.