remove property "public", add AccessRestriction model

This commit is contained in:
Laura Klünder 2017-07-13 18:43:03 +02:00
parent 945b5a7e0e
commit 20924b9845
6 changed files with 140 additions and 10 deletions

View file

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