Обновлен список городов - теперь он не в базе данных, а в статических объектах. Обновлена работа с медиа - теперь их можно полноценно загружать и скачивать с сервера.

This commit is contained in:
2023-03-28 14:10:28 +03:00
parent d4158ae1c0
commit a9d3a34c0b
8 changed files with 207 additions and 86 deletions

View File

@@ -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