blob: 9b48abf74cb239d7438eabebab299221b57c2c57 [file] [log] [blame]
Keyar Hood0420f632013-06-05 11:12:09 -07001"""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')