~linuxgoose/bocpress

ref: c3e7a8fd7f81de9f46f6e20a224922de9469f78b bocpress/mataroa/asgi.py -rw-r--r-- 391 bytes
c3e7a8fdJordan Robinson update allow for docs user if env variable 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
ASGI config for mataroa 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/3.0/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mataroa.settings")

application = get_asgi_application()