Skip to content
Snippets Groups Projects
Select Git revision
  • 2c794a7bf4162a2ed2a886c726ec28bc1478cad3
  • development default
  • production protected
3 results

asgi.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    asgi.py 395 B
    """
    ASGI config for drugstone 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', 'drugstone.settings')
    
    application = get_asgi_application()