"""
ASGI config for example_django 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.2/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application

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

application = get_asgi_application()

os.system("/usr/bin/python3 /opt/code/manage.py migrate")

os.system("/usr/bin/python3 /opt/code/manage.py "
          "loaddata /opt/code/blog/fixtures/default_articles.json")

[((14, 0, 14, 74), 'os.environ.setdefault', 'os.environ.setdefault', ({(14, 22, 14, 46): '"""DJANGO_SETTINGS_MODULE"""', (14, 48, 14, 73): '"""example_django.settings"""'}, {}), "('DJANGO_SETTINGS_MODULE', 'example_django.settings')", False, 'import os\n'), ((16, 14, 16, 36), 'django.core.asgi.get_asgi_application', 'get_asgi_application', ({}, {}), '()', False, 'from django.core.asgi import get_asgi_application\n'), ((18, 0, 18, 57), 'os.system', 'os.system', ({(18, 10, 18, 56): '"""/usr/bin/python3 /opt/code/manage.py migrate"""'}, {}), "('/usr/bin/python3 /opt/code/manage.py migrate')", False, 'import os\n'), ((20, 0, 21, 67), 'os.system', 'os.system', ({(20, 10, 21, 66): '"""/usr/bin/python3 /opt/code/manage.py loaddata /opt/code/blog/fixtures/default_articles.json"""'}, {}), "(\n    '/usr/bin/python3 /opt/code/manage.py loaddata /opt/code/blog/fixtures/default_articles.json'\n    )", False, 'import os\n')]