mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Add a note about caching
This commit is contained in:
parent
dfd1ca4ae9
commit
0404f6ebc3
@ -7,6 +7,7 @@ from awx.main.models.configuration import TowerSettings
|
||||
|
||||
class TowerConfiguration(object):
|
||||
|
||||
# TODO: Caching so we don't have to hit the database every time for settings
|
||||
def __getattr__(self, key):
|
||||
ts = TowerSettings.objects.filter(key=key)
|
||||
if not ts.exists():
|
||||
|
Loading…
Reference in New Issue
Block a user