From e1d005ed591c01cbcbdc03520298c6f61a812750 Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Thu, 15 Jul 2021 14:05:03 +0200 Subject: [PATCH] feat: storage API handler settings --- example/unicms/settingslocal.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/example/unicms/settingslocal.py b/example/unicms/settingslocal.py index 09a5cddc..05a24ac7 100644 --- a/example/unicms/settingslocal.py +++ b/example/unicms/settingslocal.py @@ -253,11 +253,20 @@ 'cms.publications.handlers.PublicationListHandler' : CMS_PUBLICATION_URL_LIST_REGEXP, } +# UNICAL STORAGE HANDLER if "unicms_unical_storage_handler" in INSTALLED_APPS: + from unicms_unical_storage_handler.settings import * + CMS_HANDLERS_PATHS.extend(CMS_STORAGE_HANDLERS_PATHS) CMS_APP_REGEXP_URLPATHS.update(CMS_STORAGE_APP_REGEXP_URLPATHS) + ALLOWED_UNICMS_SITES = [2] + ALLOWED_CDS_COURSETYPES = ['L','LM','LM5','LM6','M1-270','M2-270'] +# END UNICAL STORAGE HANDLER + + + TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates',