Обновлен список городов - теперь он не в базе данных, а в статических объектах. Обновлена работа с медиа - теперь их можно полноценно загружать и скачивать с сервера.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import json
|
||||
from django.shortcuts import render
|
||||
from django.http import HttpResponse, HttpResponseBadRequest
|
||||
from django.views.decorators.csrf import csrf_exempt
|
||||
|
||||
from .api_methods import api_call_method, api_get_documentation
|
||||
|
||||
|
||||
@@ -36,4 +38,3 @@ async def call_method(request, method_name):
|
||||
return response
|
||||
else:
|
||||
return out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user