This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django import forms | |
from django.http import HttpResponseForbidden | |
from employees.models import Employee | |
class PinForm(forms.Form): | |
number = forms.CharField(max_length=4) | |
pin = forms.CharField(max_length=4) | |
def check_authentication(self): |