<commit_before>from django.contrib.auth.forms import AuthenticationForm
from django import forms


class LoginForm(AuthenticationForm):
    username = forms.CharField(label="Username", max_length=30,
                               widget=forms.TextInput(attrs={'class': 'form-control', 'name': 'username'}))
    password = forms.CharField(label="Password", max_length=30,
                               widget=forms.PasswordInput(attrs={'class': 'form-control', 'name': 'password'}))


class PinForm(forms.Form):
    id = forms.IntegerField(widget=forms.HiddenInput(), required=False, name='id')
    name = forms.CharField(label='Name', max_length=120, required=True, name='name')
    description = forms.CharField(label='description', max_length=120, name='description')
    pin_number = forms.IntegerField(label='Pin #', required=True, name='pin_number')
    is_thermometer = forms.BooleanField(label='Thermometer', required=False)<commit_msg>cant name int field?<commit_after>from django.contrib.auth.forms import AuthenticationForm
from django import forms


class LoginForm(AuthenticationForm):
    username = forms.CharField(label="Username", max_length=30,
                               widget=forms.TextInput(attrs={'class': 'form-control', 'name': 'username'}))
    password = forms.CharField(label="Password", max_length=30,
                               widget=forms.PasswordInput(attrs={'class': 'form-control', 'name': 'password'}))


class PinForm(forms.Form):
    id = forms.IntegerField(widget=forms.HiddenInput(), required=False)
    name = forms.CharField(label='Name', max_length=120, required=True, name='name')
    description = forms.CharField(label='description', max_length=120, name='description')
    pin_number = forms.IntegerField(label='Pin #', required=True)
    is_thermometer = forms.BooleanField(label='Thermometer', required=False)
{'fraction_non_alphanumeric': 0.14193893947509373, 'fraction_numerical': 0.010712372790573112, 'mean_word_length': 4.695121951219512, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4068491', 'n_tokens_mistral': 528, 'n_tokens_neox': 512, 'n_words': 92}