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:
Amelia Cordwell 2018-04-05 15:21:56 +12:00
parent 45f9970cf2
commit a6ecf47a32
1 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/
import os
from django.core.wsgi import get_wsgi_application
from django.conf import settings
from six.moves.urllib.parse import urlparse
from keystonemiddleware.auth_token import AuthProtocol
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
# the Keystone Auth Middleware.
identity_url = urlparse(settings.KEYSTONE['auth_url'])
conf = {
"auth_plugin": "password",
'username': settings.KEYSTONE['username'],