turn abstract models into mixins
This commit is contained in:
parent
9e79ca74ae
commit
963694395e
8 changed files with 33 additions and 87 deletions
|
@ -4,11 +4,11 @@ from django.utils.translation import ugettext_lazy as _
|
|||
from shapely.geometry import CAP_STYLE, JOIN_STYLE
|
||||
from shapely.ops import cascaded_union
|
||||
|
||||
from c3nav.mapdata.models.base import Feature
|
||||
from c3nav.mapdata.models.base import EditorFormMixin
|
||||
from c3nav.mapdata.utils.geometry import assert_multilinestring, assert_multipolygon
|
||||
|
||||
|
||||
class Section(Feature):
|
||||
class Section(EditorFormMixin, models.Model):
|
||||
"""
|
||||
A map section like a level
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue