Removed unnessacary code in wsgi.py file
* Code was not in use * We are unsure why it was there in the first place Change-Id: Iaf91e673eeab5e91e76abbd100f41db393f7183c
This commit is contained in:
parent
45f9970cf2
commit
a6ecf47a32
|
@ -24,7 +24,6 @@ https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/
|
||||||
import os
|
import os
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from six.moves.urllib.parse import urlparse
|
|
||||||
from keystonemiddleware.auth_token import AuthProtocol
|
from keystonemiddleware.auth_token import AuthProtocol
|
||||||
|
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "adjutant.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "adjutant.settings")
|
||||||
|
@ -34,7 +33,6 @@ application = get_wsgi_application()
|
||||||
|
|
||||||
# Here we replace the default application with one wrapped by
|
# Here we replace the default application with one wrapped by
|
||||||
# the Keystone Auth Middleware.
|
# the Keystone Auth Middleware.
|
||||||
identity_url = urlparse(settings.KEYSTONE['auth_url'])
|
|
||||||
conf = {
|
conf = {
|
||||||
"auth_plugin": "password",
|
"auth_plugin": "password",
|
||||||
'username': settings.KEYSTONE['username'],
|
'username': settings.KEYSTONE['username'],
|
||||||
|
|
Loading…
Reference in New Issue