From 0404f6ebc33d83fc6dfeceed5d9370e73ef40e64 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 15 Dec 2015 16:42:32 -0500 Subject: [PATCH] Add a note about caching --- awx/main/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/conf.py b/awx/main/conf.py index 8e49d9a10f..40646c2537 100644 --- a/awx/main/conf.py +++ b/awx/main/conf.py @@ -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():