github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/python/rideshare/django/app/hello_django/asgi.py (about)

     1  """
     2  ASGI config for hello_django project.
     3  
     4  It exposes the ASGI callable as a module-level variable named ``application``.
     5  
     6  For more information on this file, see
     7  https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/
     8  """
     9  
    10  import os
    11  
    12  from django.core.asgi import get_asgi_application
    13  
    14  os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'hello_django.settings')
    15  
    16  application = get_asgi_application()