hotel import template

This commit is contained in:
2024-12-13 22:25:11 +09:00
parent 93964af71a
commit 3c6f849b78
28 changed files with 10049 additions and 178 deletions

9
antifroud/forms.py Normal file
View 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
)