cmsmanage/rentals/forms.py

14 lines
253 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",
]