cmsmanage/rentals/forms.py

15 lines
277 B
Python
Raw Normal View History

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