cleanings
This commit is contained in:
9
antifroud/forms.py
Normal file
9
antifroud/forms.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django import forms
|
||||
from .models import Hotel
|
||||
|
||||
class HotelImportForm(forms.Form):
|
||||
hotels = forms.ModelMultipleChoiceField(
|
||||
queryset=Hotel.objects.all(),
|
||||
widget=forms.CheckboxSelectMultiple,
|
||||
required=True
|
||||
)
|
||||
Reference in New Issue
Block a user