Инспекция кода

This commit is contained in:
2026-07-18 21:12:33 +03:00
parent a5a29b03b6
commit 02087aa80a
12 changed files with 51 additions and 40 deletions

View File

@@ -1,10 +1,11 @@
# DRF Rack
# Библиотека классов расширений для Django REST Framework
#
# Автор: Николай В. Анохин <n.anokhin@xeaf.net>
# Все права защищены. Лицензия: MIT
"""
ASGI config for wsgiapp project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/6.0/howto/deployment/asgi/
Запуск приложения ASGI
"""
import os
@@ -12,5 +13,4 @@ import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wsgiapp.settings')
application = get_asgi_application()

View File

@@ -1,10 +1,11 @@
# DRF Rack
# Библиотека классов расширений для Django REST Framework
#
# Автор: Николай В. Анохин <n.anokhin@xeaf.net>
# Все права защищены. Лицензия: MIT
"""
WSGI config for wsgiapp project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/6.0/howto/deployment/wsgi/
Запуск приложения WSGI
"""
import os
@@ -12,5 +13,4 @@ import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wsgiapp.settings')
application = get_wsgi_application()