Python 3 fixes
This commit is contained in:
1 parent
b69f917d57
commit
ec638d51f9
8 files changed
+61
-47
No files matched your search
+3
-3
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
import django.core.handlers.wsgi
|
||||
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'bbssite.settings'
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'bbssite.settings')
|
||||
|
||||
application = django.core.handlers.wsgi.WSGIHandler()
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
application = get_wsgi_application()
|
||||
Reference in new issue
Block a user