pedagogy: basic display list of UV

This commit is contained in:
klmp200 committed 2019-06-15 23:31:31 +02:00
1 parent 5bf5d0277c
commit ec33311715
6 files changed
+58 -3

No files matched your search

+3
View File
@@ -43,6 +43,9 @@ class UV(models.Model):
"""
return user.is_in_group(settings.SITH_GROUP_PEDAGOGY_ADMIN_ID)
def can_be_viewed_by(self, user):
return user.is_subscribed
code = models.CharField(
_("code"),
max_length=10,