Skip to content
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e9296a1
add back NH Type, Year Pub, and Clear filters
van-go Jul 3, 2025
795c38f
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Jul 7, 2025
67a0e65
cert-updates
van-go Jul 9, 2025
52d892c
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Jul 9, 2025
e5c271c
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Jul 16, 2025
e7b055b
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Jul 16, 2025
ece6e39
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Aug 15, 2025
40e39f8
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Aug 21, 2025
25aa2f0
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Sep 15, 2025
cb3ddc6
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Oct 1, 2025
f1eb0f7
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Oct 15, 2025
674e4b3
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Nov 18, 2025
ae4f839
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Nov 20, 2025
0da44cd
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Dec 3, 2025
0632d99
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Dec 4, 2025
0e144dc
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Dec 10, 2025
88a519b
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Jan 7, 2026
ed01b72
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Apr 3, 2026
a7d292d
Merge branch 'main' of https://github.com/DesignSafe-CI/portal
van-go Jul 15, 2026
d793e09
Update Django to 5.2.12 and add compatibility for djangocms-forms
van-go Jul 15, 2026
edac23f
Update SSL certificate configuration to enhance key usage and remove …
van-go Jul 15, 2026
d654094
Upgrade django CMS to 4.1
van-go Jul 21, 2026
733d001
Upgrade django CMS to 5.0
van-go Jul 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions designsafe/settings/common_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from django.urls import reverse_lazy
from django.utils.text import format_lazy
from django.utils.translation import gettext_lazy as _
from designsafe.settings.djangocms_forms_compat import apply_storage_compatibility


gettext = lambda s: s
Expand Down Expand Up @@ -291,6 +292,12 @@
"BACKEND": "django.contrib.staticfiles.storage.ManifestStaticFilesStorage",
},
}

# djangocms-forms-maintained still uses the pre-Django 5 storage API. Keep its
# configuration sourced from STORAGES until the archived plugin is replaced.
DEFAULT_FILE_STORAGE = STORAGES["default"]["BACKEND"]
apply_storage_compatibility()
Comment on lines +296 to +299

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update django-cms as well to not need this compatibility function?

@wesleyboar wesleyboar Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope so! Please tell me how this goes! I have long been worried about the form plugin, but 'django-cms>=3.0' suggests forms could still work.

Why Now Is the Right Time to Migrate from django CMS 3.11
— Django CMS Blog | Jan. 10, 2026


STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
Expand Down
10 changes: 10 additions & 0 deletions designsafe/settings/djangocms_forms_compat.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""Compatibility helpers for the unmaintained djangocms-forms package."""

from django.core.files import storage
from django.utils.module_loading import import_string


def apply_storage_compatibility():
"""Restore the storage loader removed in Django 5 for djangocms-forms."""
if not hasattr(storage, "get_storage_class"):
storage.get_storage_class = import_string
Loading
Loading