Don’t show styleguide on live environment

Its audience is people working on the product, not the end users.
This commit is contained in:
Chris Hill-Scott
2016-02-15 11:47:54 +00:00
parent 10a92258a4
commit 0d86be0feb
2 changed files with 7 additions and 2 deletions

View File

@@ -44,6 +44,8 @@ class Config(object):
AWS_REGION = 'eu-west-1'
SHOW_STYLEGUIDE = True
class Development(Config):
DEBUG = True
@@ -66,7 +68,7 @@ class Preview(Config):
class Staging(Preview):
pass
SHOW_STYLEGUIDE = False
class Live(Staging):