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