convert the model mixins to abstract models
This commit is contained in:
parent
65ccf1d92f
commit
a845f23cee
4 changed files with 18 additions and 10 deletions
|
@ -2,6 +2,7 @@ from collections import OrderedDict
|
|||
|
||||
from shapely.geometry import Point, mapping
|
||||
|
||||
from c3nav.mapdata.fields import GeometryField
|
||||
from c3nav.mapdata.models.base import EditorFormMixin
|
||||
from c3nav.mapdata.utils.json import format_geojson
|
||||
|
||||
|
@ -12,6 +13,8 @@ class GeometryMixin(EditorFormMixin):
|
|||
"""
|
||||
A map feature with a geometry
|
||||
"""
|
||||
geometry = None
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue