ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Django settings for code that only needs readonly access to the database."""
 
import common
 
# This copies all the non-readonly settings into the readonly settings.
# We then overwrite the relevant settings to set readonly access.
# This allows us to update the generic settings without having duplicated
# entries between the readonly and non-readonly settings.
from autotest_lib.frontend.settings import *
 
 
AUTOTEST_DEFAULT['USER'] = AUTOTEST_DEFAULT['READONLY_USER']
AUTOTEST_DEFAULT['HOST'] = AUTOTEST_DEFAULT['READONLY_HOST']
AUTOTEST_DEFAULT['PASSWORD'] = AUTOTEST_DEFAULT['READONLY_PASSWORD']