from django.http import HttpResponse


def list_question_sets(request):
    return HttpResponse('Lol, udachi')

@@ -1,8 +1,20 @@
+import json%0A
 from dja
@@ -42,16 +42,52 @@
 esponse%0A
+from maps.models import QuestionSet%0A
 %0A%0Adef li
@@ -113,16 +113,311 @@
 quest):%0A
+    objects = QuestionSet.objects.all()%0A    items = %5B%5D%0A    for obj in objects:%0A        items.append(%7B%0A            'title': obj.title,%0A            'max_duration': obj.max_duration.seconds,%0A            'creator': %7B%0A                'full_name': obj.creator.get_full_name()%0A            %7D%0A        %7D)%0A
     retu
@@ -436,19 +436,23 @@
 nse(
-'Lol, udachi'
+json.dumps(items)
 )%0A

Add API method for question sets list