newsletters: do not include cell by default (#21876)
This commit is contained in:
parent
57465b3b5e
commit
3f1c4ee147
|
@ -55,7 +55,7 @@ class NewslettersCell(CellBase):
|
|||
|
||||
@classmethod
|
||||
def is_enabled(cls):
|
||||
return True
|
||||
return settings.NEWSLETTERS_CELL_ENABLED
|
||||
|
||||
class Meta:
|
||||
verbose_name = _('Newsletters')
|
||||
|
|
|
@ -283,8 +283,9 @@ COMBO_MAP_ATTRIBUTION = 'Map data © <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'))
|
||||
|
|
|
@ -57,3 +57,4 @@ if 'DISABLE_MIGRATIONS' in os.environ:
|
|||
FAMILY_SERVICE = {'root': '/'}
|
||||
|
||||
BOOKING_CALENDAR_CELL_ENABLED = True
|
||||
NEWSLETTERS_CELL_ENABLED = True
|
||||
|
|
Loading…
Reference in New Issue