Source code for intranet.apps.parking.forms

from django import forms

from .models import CarApplication, ParkingApplication


[docs]class ParkingApplicationForm(forms.ModelForm):
[docs] class Meta: model = ParkingApplication fields = ["email", "mentorship"]
[docs]class CarApplicationForm(forms.ModelForm):
[docs] class Meta: model = CarApplication fields = ["license_plate", "make", "model", "year"]