newsletters: do not include cell by default (#21876)

This commit is contained in:
Frédéric Péters 2018-02-15 13:40:56 +01:00
parent 57465b3b5e
commit 3f1c4ee147
3 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class NewslettersCell(CellBase):
@classmethod
def is_enabled(cls):
return True
return settings.NEWSLETTERS_CELL_ENABLED
class Meta:
verbose_name = _('Newsletters')

View File

@ -283,8 +283,9 @@ COMBO_MAP_ATTRIBUTION = 'Map data &copy; <a href="https://openstreetmap.org">Ope
# we use 28s by default: timeout just before web server, which is usually 30s
REQUESTS_TIMEOUT = 28
# hide work-in-progress/experimental/whatever booking calendar cell for now
# hide work-in-progress/experimental/whatever cells for now
BOOKING_CALENDAR_CELL_ENABLED = False
NEWSLETTERS_CELL_ENABLED = False
local_settings_file = os.environ.get('COMBO_SETTINGS_FILE',
os.path.join(os.path.dirname(__file__), 'local_settings.py'))

View File

@ -57,3 +57,4 @@ if 'DISABLE_MIGRATIONS' in os.environ:
FAMILY_SERVICE = {'root': '/'}
BOOKING_CALENDAR_CELL_ENABLED = True
NEWSLETTERS_CELL_ENABLED = True