diff --git a/README.md b/README.md index d0dc575..055ad67 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/retspen/webvirtcloud) # WebVirtCloud -###### Python3 & Django 2.2 +###### Python 3.x & Django 3.2 LTS ## Features * QEMU/KVM Hypervisor Management diff --git a/webvirtcloud/asgi.py b/webvirtcloud/asgi.py new file mode 100644 index 0000000..521fe59 --- /dev/null +++ b/webvirtcloud/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for webvirtcloud 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', 'webvirtcloud.settings') + +application = get_asgi_application() diff --git a/webvirtcloud/wsgi.py b/webvirtcloud/wsgi.py index d444f71..00c2ae3 100644 --- a/webvirtcloud/wsgi.py +++ b/webvirtcloud/wsgi.py @@ -4,7 +4,7 @@ WSGI config for webvirtcloud project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see -https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ +https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os diff --git a/webvirtcloud/wsgi_custom.py b/webvirtcloud/wsgi_custom.py index acf22aa..109c99e 100644 --- a/webvirtcloud/wsgi_custom.py +++ b/webvirtcloud/wsgi_custom.py @@ -4,7 +4,7 @@ WSGI config for webvirtcloud project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see -https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ +https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os import sys