1st commit

This commit is contained in:
2026-05-25 19:45:43 -03:00
commit 55087c8278
44 changed files with 1522 additions and 0 deletions

14
accounts/forms.py Normal file
View File

@@ -0,0 +1,14 @@
from django import forms
from django.contrib.auth.models import User
class UserRegistrationForm(forms.Form):
username = forms.CharField(label='Username', max_length=100, min_length=5,
widget=forms.TextInput(attrs={'class': 'form-control'}))
email = forms.EmailField(label='Email', max_length=35, min_length=5,
widget=forms.EmailInput(attrs={'class': 'form-control'}))
password1 = forms.CharField(label='Password', max_length=50, min_length=5,
widget=forms.PasswordInput(attrs={'class': 'form-control'}))
password2 = forms.CharField(label='Confirm Password',
max_length=50, min_length=5,
widget=forms.PasswordInput(attrs={'class': 'form-control'}))