rename and refactor mapdata models

This commit is contained in:
Laura Klünder 2017-05-05 12:32:35 +02:00
parent a18dc108c1
commit 5973ca3211
10 changed files with 86 additions and 84 deletions

View file

@ -100,6 +100,6 @@ def create_editor_form(mapitemtype):
def create_editor_forms():
from c3nav.mapdata.models.base import MAPITEM_TYPES
for mapitemtype in MAPITEM_TYPES.values():
from c3nav.mapdata.models.base import FEATURE_TYPES
for mapitemtype in FEATURE_TYPES.values():
create_editor_form(mapitemtype)