Skip to content
Snippets Groups Projects
Select Git revision
  • 668a913687a3c84261f09c415be678761ccf38fd
  • 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()