dynamicweb/nosystemd/forms.py

14 lines
398 B
Python

from django import forms
from utils.forms import LoginFormMixin, SignupFormMixin
class LoginForm(LoginFormMixin):
email = forms.CharField(widget=forms.EmailInput())
password = forms.CharField(widget=forms.PasswordInput())
class SignupForm(SignupFormMixin):
confirm_password = forms.CharField(widget=forms.EmailInput())
password = forms.CharField(widget=forms.PasswordInput())