Python 3 fixes

This commit is contained in:
nikolark committed 2015-11-22 12:51:12 +01:00
1 parent b69f917d57
commit ec638d51f9
8 files changed
+61 -47

No files matched your search

+3 -3
View File
@@ -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()