Add working authorization and registration

This commit is contained in:
2022-09-17 00:05:08 +03:00
parent 7582330b1b
commit 59ec0647dc
7 changed files with 43 additions and 19 deletions

View File

@@ -6,5 +6,5 @@ from .models import SiteUser
class SiteUserForm(UserCreationForm):
class Meta(UserCreationForm.Meta):
model = SiteUser
fields = ('name', 'surname', 'email', 'phone')
fields = ('name', 'surname', 'phone', 'email')
error_css_class = 'error'