from django import forms
from django.contrib.auth.forms import UserCreationForm
from users.models import Account

class RegistrationForm(UserCreationForm):
    email = forms.EmailField(max_length=60,help_text='Required Add a valid email address', required=False)

    class Meta:
        model = Account
        fields = ("email","username","password1","password2")

