turn abstract models into mixins

This commit is contained in:
Laura Klünder 2017-05-08 16:40:22 +02:00
parent 9e79ca74ae
commit 963694395e
8 changed files with 33 additions and 87 deletions

View file

@ -1,10 +1,10 @@
from django.db import models
from django.utils.translation import ugettext_lazy as _
from c3nav.mapdata.models.base import Feature
from c3nav.mapdata.models.base import EditorFormMixin
class Source(Feature):
class Source(EditorFormMixin, models.Model):
"""
A map source, images of levels that can be useful as backgrounds for the map editor
"""