Skip to content

Commit

Permalink
feat: storage API handler settings
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Jul 15, 2021
1 parent 1fb2376 commit e1d005e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/unicms/settingslocal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e1d005e

Please sign in to comment.