convert the model mixins to abstract models

This commit is contained in:
Laura Klünder 2017-05-09 12:50:32 +02:00
parent 65ccf1d92f
commit a845f23cee
4 changed files with 18 additions and 10 deletions

View file

@ -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