• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""Sets up the Django environment for readonly access to the database.
2
3This sets the DJANGO_SETTINGS_MODULE to point to frontend/settings_readonly.py.
4Django will then use this file for configuration.
5
6"""
7
8import os
9
10
11os.environ.setdefault('DJANGO_SETTINGS_MODULE',
12                      'autotest_lib.frontend.settings_readonly')
13