You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
327 B
Python

from django.contrib.auth.forms import UserCreationForm
from django import forms
from django.contrib.auth.models import User
from .models import *
class CustomLoginForm(forms.Form):
username = forms.CharField(label='Username', max_length=150)
password = forms.CharField(label='Password', widget=forms.PasswordInput)