From 87a09fa5f29ea325885060c6e9ed2d5a107d5af2 Mon Sep 17 00:00:00 2001 From: DK Benjamin Date: Tue, 14 Jul 2026 10:48:44 -0400 Subject: [PATCH 1/3] Only show pulbished page types in partnerships --- app/partners/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/partners/models.py b/app/partners/models.py index 4436d4f8..4a2c6194 100644 --- a/app/partners/models.py +++ b/app/partners/models.py @@ -76,7 +76,7 @@ class PartnerWithUsPage(Page): def get_context(self, request, *args, **kwargs): context = super().get_context(request, *args, **kwargs) - context['partners'] = Partner.objects.all().filter(partner_is_active=True) + context['partners'] = Partner.objects.live().filter(partner_is_active=True) return context subpage_types = [ From 81db76c6309fb8912369e659a138c35db4f35828 Mon Sep 17 00:00:00 2001 From: DK Benjamin Date: Tue, 14 Jul 2026 13:04:47 -0400 Subject: [PATCH 2/3] Only show published partner types --- app/partners/models.py | 2 +- app/partners/templates/partners/partner_with_us_page.html | 2 ++ hot_osm/settings/dev.py | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/partners/models.py b/app/partners/models.py index 4a2c6194..4436d4f8 100644 --- a/app/partners/models.py +++ b/app/partners/models.py @@ -76,7 +76,7 @@ class PartnerWithUsPage(Page): def get_context(self, request, *args, **kwargs): context = super().get_context(request, *args, **kwargs) - context['partners'] = Partner.objects.live().filter(partner_is_active=True) + context['partners'] = Partner.objects.all().filter(partner_is_active=True) return context subpage_types = [ diff --git a/app/partners/templates/partners/partner_with_us_page.html b/app/partners/templates/partners/partner_with_us_page.html index 855ef86f..9c363332 100644 --- a/app/partners/templates/partners/partner_with_us_page.html +++ b/app/partners/templates/partners/partner_with_us_page.html @@ -23,6 +23,7 @@ {% include "ui/components/SectionHeadingWithUnderline.html" with title=page.partnership_types_title %}
{% for ptype in page.get_children %} + {% if ptype.specific.live %}
{% image ptype.specific.external_icon original class="h-12 w-auto mt-2" %} @@ -34,6 +35,7 @@

{{ptype.specific.intro|richtext}}

+ {% endif %} {% endfor %} diff --git a/hot_osm/settings/dev.py b/hot_osm/settings/dev.py index 60cc27d3..30a0b1ae 100644 --- a/hot_osm/settings/dev.py +++ b/hot_osm/settings/dev.py @@ -28,6 +28,14 @@ }, } +CACHES = { + 'default': { + 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', + } +} + + + try: from .local import * except ImportError: From ebf2d9dbd7b83319566177aeb53c700b1ad8f153 Mon Sep 17 00:00:00 2001 From: DK Benjamin Date: Tue, 14 Jul 2026 14:41:31 -0400 Subject: [PATCH 3/3] Bump chart to 1.0.10 --- chart/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 85ba967b..e6e2798b 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -6,11 +6,11 @@ type: application icon: https://hotosm.org/static/images/favicon-16x16.png # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 1.0.9 +version: 1.0.10 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: "1.0.9" +appVersion: "1.0.10" dependencies: - name: dragonfly