lin
2025-07-30 fcd736bf35fd93b563e9bbf594f2aa7b62028cc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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()