cmsmanage/rentals/forms.py
Adam Goldsmith 5ae60be3b4 [rentals] Use widget_tweaks to apply CSS classes to form fields
... instead of subclassing ModelForm to apply a class to all fields
2022-03-15 21:50:43 -04:00

14 lines
253 B
Python

from django import forms
from rentals.models import LockerInfo
class LockerInfoForm(forms.ModelForm):
class Meta:
model = LockerInfo
fields = [
"blind_code",
"bitting_code",
"renter",
]