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