From 93835127726ef192fa6389b498a09f750d99cb86 Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Tue, 9 Jul 2019 16:55:37 -0400 Subject: [PATCH] Remove no longer needed check for override of WSGIHandler --- awx/wsgi.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/awx/wsgi.py b/awx/wsgi.py index 13f8b08198..6d155ab6c3 100644 --- a/awx/wsgi.py +++ b/awx/wsgi.py @@ -40,12 +40,5 @@ if social_django.__version__ != '2.1.0': still works".format(social_django.__version__)) -if not django.__version__.startswith('1.'): - raise RuntimeError("Django version other than 1.XX detected {}. \ - Inherit from WSGIHandler to support short-circuit Django Middleware. \ - This is known to work for Django 1.XX and may not work with other, \ - even minor, versions.".format(django.__version__)) - - # Return the default Django WSGI application. application = get_wsgi_application()