lin
2025-08-01 633231e833e21d5b8b1c00cb15aedb62b3b78e8f
1
2
3
4
5
6
7
8
9
10
11
12
"""Sets up the Django environment for readonly access to the database.
 
This sets the DJANGO_SETTINGS_MODULE to point to frontend/settings_readonly.py.
Django will then use this file for configuration.
 
"""
 
import os
 
 
os.environ.setdefault('DJANGO_SETTINGS_MODULE',
                      'autotest_lib.frontend.settings_readonly')