Commit a7e9e5baecd22a58af5b57b336b01871b7ec9bd7
1 parent
a32ffb0a
Exists in
master
and in
5 other branches
has_role import included [Issue:#126]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
links/views.py
@@ -9,7 +9,7 @@ from rolepermissions.mixins import HasRoleMixin | @@ -9,7 +9,7 @@ from rolepermissions.mixins import HasRoleMixin | ||
9 | from core.mixins import NotificationMixin | 9 | from core.mixins import NotificationMixin |
10 | from django.urls import reverse | 10 | from django.urls import reverse |
11 | from django.core.files.base import ContentFile | 11 | from django.core.files.base import ContentFile |
12 | - | 12 | +from rolepermissions.verifications import has_role |
13 | 13 | ||
14 | from .image_crawler import * | 14 | from .image_crawler import * |
15 | from courses.models import Topic | 15 | from courses.models import Topic |