from mapwidgets.widgets import GooglePointFieldWidget, GoogleStaticOverlayMapWidget
from django import forms

from .models import FormNear


# class CityForm(forms.ModelForm):
#     class Meta:
#         model = City
#         fields = ("name", "location")
#         widgets = {
#             'location': GooglePointFieldWidget,
#             # 'name': GoogleStaticOverlayMapWidget,
#         }


class BuyerForm(forms.ModelForm):
    class Meta:
        model = FormNear
        fields = ("buyer", "shop")

71b315fefec968d6b83c9ebe40d94de0f566bc23
<mask token>

<mask token>


class BuyerForm(forms.ModelForm):


    class Meta:
        model = FormNear
        fields = 'buyer', 'shop'

from mapwidgets.widgets import GooglePointFieldWidget, GoogleStaticOverlayMapWidget
from django import forms
from .models import FormNear


class BuyerForm(forms.ModelForm):


    class Meta:
        model = FormNear
        fields = 'buyer', 'shop'

from mapwidgets.widgets import GooglePointFieldWidget, GoogleStaticOverlayMapWidget
from django import forms

from .models import FormNear


# class CityForm(forms.ModelForm):
#     class Meta:
#         model = City
#         fields = ("name", "location")
#         widgets = {
#             'location': GooglePointFieldWidget,
#             # 'name': GoogleStaticOverlayMapWidget,
#         }


class BuyerForm(forms.ModelForm):
    class Meta:
        model = FormNear
        fields = ("buyer", "shop")
