Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input/func_noerror_wsgi.py |
""" Standard WSGI config created by django-admin startproject. Used to verify pylint_django doesn't produce invalid-name for the application variable. See: https://github.com/PyCQA/pylint-django/issues/77 """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testproj.settings") application = get_wsgi_application()