"""
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")

[((292, 366), 'os.environ.setdefault', 'os.environ.setdefault', (['"""DJANGO_SETTINGS_MODULE"""', '"""example_django.settings"""'], {}), "('DJANGO_SETTINGS_MODULE', 'example_django.settings')\n", (313, 366), False, 'import os\n'), ((382, 404), 'django.core.asgi.get_asgi_application', 'get_asgi_application', ([], {}), '()\n', (402, 404), False, 'from django.core.asgi import get_asgi_application\n'), ((406, 463), 'os.system', 'os.system', (['"""/usr/bin/python3 /opt/code/manage.py migrate"""'], {}), "('/usr/bin/python3 /opt/code/manage.py migrate')\n", (415, 463), False, 'import os\n'), ((465, 579), 'os.system', 'os.system', (['"""/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    )\n", (474, 579), False, 'import os\n')]