Skip to content

Commit

Permalink
Merge pull request #36 from bernd-wechner/Django4
Browse files Browse the repository at this point in the history
Django 4 compatibility issues fixed
  • Loading branch information
simon-the-shark committed Mar 1, 2022
2 parents 52bced0 + 3ab1d3e commit b0f1a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapbox_location_field/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, *args, **kwargs):
map_attrs = kwargs.pop("map_attrs", None)
super().__init__(*args, **kwargs)

self.widget = MapInput(map_attrs=map_attrs, )
self.widget = MapInput(map_attrs=map_attrs,)
self.error_messages = {"required": "Please pick a location, it's required", }

def to_python(self, value):
Expand Down

0 comments on commit b0f1a33

Please sign in to comment.