
templates with this packages. Fixed url displayed as "Sign In" (made it use url template tag). Little hack to login.html to make it redirect to index page even when Dashboard is accessed not from server's root. Removed ancient hack from django.wsgi. It was needed only for very old Django versions.
14 lines
258 B
Python
14 lines
258 B
Python
import logging
|
|
import os
|
|
import sys
|
|
import django.core.handlers.wsgi
|
|
from django.conf import settings
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'dashboard.settings'
|
|
sys.stdout = sys.stderr
|
|
|
|
DEBUG = False
|
|
|
|
application = django.core.handlers.wsgi.WSGIHandler()
|
|
|