from django import forms
from .models import Search, Booking, AirportCodesImport


class SearchForm(forms.ModelForm):


    class Meta:
        model = Search
        fields = ['query', 'checkin', 'checkout', 'duration']


class BookingForm(forms.ModelForm):


    class Meta:
        model = Booking
        fields = '__all__'


from data_importer.importers import XLSImporter


class MyXLSImporterModel(XLSImporter):


    class Meta:
        model = AirportCodesImport

f8631512d1071434ef420ebd1cbeadcde6f1624b
<mask token>

<mask token>


class BookingForm(forms.ModelForm):


    class Meta:
        model = Booking
        fields = '__all__'


<mask token>


class MyXLSImporterModel(XLSImporter):


    class Meta:
        model = AirportCodesImport

<mask token>


class SearchForm(forms.ModelForm):


    class Meta:
        model = Search
        fields = ['query', 'checkin', 'checkout', 'duration']


class BookingForm(forms.ModelForm):


    class Meta:
        model = Booking
        fields = '__all__'


<mask token>


class MyXLSImporterModel(XLSImporter):


    class Meta:
        model = AirportCodesImport

from django import forms
from .models import Search, Booking, AirportCodesImport


class SearchForm(forms.ModelForm):


    class Meta:
        model = Search
        fields = ['query', 'checkin', 'checkout', 'duration']


class BookingForm(forms.ModelForm):


    class Meta:
        model = Booking
        fields = '__all__'


from data_importer.importers import XLSImporter


class MyXLSImporterModel(XLSImporter):


    class Meta:
        model = AirportCodesImport
