refactor python package structure
This commit is contained in:
parent
9eff769622
commit
8c9671602b
19 changed files with 56 additions and 49 deletions
16
hub/asgi.py
Normal file
16
hub/asgi.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
"""
|
||||
ASGI config for hub 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/5.1/howto/deployment/asgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hub.settings")
|
||||
|
||||
application = get_asgi_application()
|
Loading…
Add table
Add a link
Reference in a new issue