1# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import os, sys
6
7# The frontend directory needs to be added to our path for the WSGI
8# application to work properly.
9frontend_path = os.path.abspath(
10    os.path.join(os.path.dirname(__file__, '..', 'frontend'))
11sys.path.append(frontend_path)
12
13os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
14
15import django.core.handlers.wsgi
16
17application = django.core.handlers.wsgi.WSGIHandler()
18