remove property "public", add AccessRestriction model
This commit is contained in:
parent
945b5a7e0e
commit
20924b9845
6 changed files with 140 additions and 10 deletions
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue