Add myAccount view
This commit is contained in:
10
billard/forms.py
Normal file
10
billard/forms.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django import forms
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
class UserInformationUpdateForm(forms.ModelForm):
|
||||
email = forms.EmailField()
|
||||
|
||||
class Meta:
|
||||
model = User
|
||||
fields = ('first_name', 'last_name', 'email',)
|
||||
Reference in New Issue
Block a user