Source code for intranet.apps.lostfound.forms

from django import forms

from .models import FoundItem, LostItem


[docs]class LostItemForm(forms.ModelForm):
[docs] class Meta: model = LostItem fields = ["title", "description", "last_seen", "found"]
[docs]class FoundItemForm(forms.ModelForm):
[docs] class Meta: model = FoundItem fields = ["title", "description", "found", "retrieved"]