Allowing overrides on a per environment basis

This commit is contained in:
Martyn Inglis
2016-03-17 11:47:44 +00:00
parent e7532d2c64
commit 9a7788a6f5
6 changed files with 61 additions and 1 deletions

View File

@@ -84,3 +84,9 @@ class Development(Config):
class Test(Development):
pass
configs = {
'live': 'config_live.Live',
'staging': 'config_staging.Staging',
'preview': 'config.Config'
}