<filename>recepcao/forms.py
from django import forms
from .models import *

class LoginUsuario(forms.Form):
    usuário = forms.CharField(max_length=50)
    senha = forms.CharField(widget=forms.PasswordInput)

class UsuarioForm(forms.ModelForm):
    class Meta:
        model = Usuario
        fields = '__all__'

class VisitanteForm(forms.ModelForm):
    class Meta:
        model = Visitante
        fields = '__all__'

class VisitaForm(forms.ModelForm):
    class Meta:
        model = Visita
        fields = '__all__'

