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