Commit 08f6b954 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Little fixes

parent 06dc217a
...@@ -79,7 +79,7 @@ router.register(r'classroom', ClassroomViewSet, base_name='classroom') ...@@ -79,7 +79,7 @@ router.register(r'classroom', ClassroomViewSet, base_name='classroom')
router.register(r'event', EventViewSet, base_name='event') router.register(r'event', EventViewSet, base_name='event')
# Stats # Stats
router.register(r'user-activities', UserActivitiesViewSet, base_name='user-activities'), router.register(r'user-activities', UserActivitiesViewSet, base_name='user-activities')
app_name = 'courses' app_name = 'courses'
urlpatterns = [ urlpatterns = [
......
from django.db.models import Q from django.db.models import Q
from django.db import IntegrityError from django.db import IntegrityError
from django.contrib.auth import get_user_model from django.contrib.auth import get_user_model
from django.views.generic.base import RedirectView
from rest_framework import viewsets, mixins from rest_framework import viewsets, mixins
from rest_framework.response import Response from rest_framework.response import Response
...@@ -23,8 +22,6 @@ from .permissions import ( ...@@ -23,8 +22,6 @@ from .permissions import (
IsAdminOrReadOnly, IsAdminOrReadOnly,
) )
from braces.views import LoginRequiredMixin
class CourseGroupViewSet(viewsets.ModelViewSet): class CourseGroupViewSet(viewsets.ModelViewSet):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment