mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
9 lines
216 B
Python
9 lines
216 B
Python
from utils.api import APIView
|
|
|
|
from ..models import ProblemTag
|
|
|
|
|
|
class ProblemTagAPI(APIView):
|
|
def get(self, request):
|
|
return self.success([item.name for item in ProblemTag.objects.all().order_by("id")])
|