feat: ADRF async views (phase1) + native async serializers (phase2) + async cache infra
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
from django.http import JsonResponse
|
||||
|
||||
|
||||
def user_index(request):
|
||||
async def user_index(request):
|
||||
return JsonResponse({
|
||||
'code': 200,
|
||||
'message': 'User API index',
|
||||
|
||||
Reference in New Issue
Block a user