You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
552 B
17 lines
552 B
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
|
# Use of this source code is governed by a BSD-style license that can be |
|
# found in the LICENSE file. |
|
|
|
import os, sys |
|
|
|
# The frontend directory needs to be added to our path for the WSGI |
|
# application to work properly. |
|
frontend_path = os.path.abspath( |
|
os.path.join(os.path.dirname(__file__, '..', 'frontend')) |
|
sys.path.append(frontend_path) |
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' |
|
|
|
import django.core.handlers.wsgi |
|
|
|
application = django.core.handlers.wsgi.WSGIHandler()
|
|
|