You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
604 B
14 lines
604 B
"""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']
|
|
|