Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/m/o/movide-HEAD/api/views.py   movide(Download)
from permissions import ClassGroupPermissions
from django.db.models import Q, Count
from notifications import GradingQueue, get_to_be_graded_count
from tasks import update_grading_queue
log = logging.getLogger(__name__)
        if self.cg.class_settings is not None:
            serializer.data['class_settings'] = ClassSettingsSerializer(self.cg.class_settings).data
            serializer.data['to_be_graded'] = get_to_be_graded_count(request.user, self.cg)
        return Response(serializer.data)