Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

asgi.py 968B

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