change mapitems API to geometry API.
This commit is contained in:
parent
a3d0f6dac3
commit
769343f78a
9 changed files with 88 additions and 158 deletions
|
@ -23,7 +23,7 @@ class FeatureFormMixin(ModelForm):
|
|||
if not creating and not settings.DIRECT_EDITING:
|
||||
self.fields['name'].disabled = True
|
||||
|
||||
if creating and self._meta.model in (Door, ):
|
||||
if creating and self._meta.model in (Door, Obstacle, ):
|
||||
self.fields['name'].initial = uuid.uuid4()
|
||||
|
||||
# restrict package choices and field_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue