From 132aac6edd6998c86f94bedaf1b1f40de3132786 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 5 Dec 2025 14:02:32 +0000 Subject: [PATCH] . --- cards/templates/cards/bulk_edit.html | 1 + db.sqlite3 | Bin 143360 -> 143360 bytes templates/cards/bulk_edit.html | 1 + toptrumps/urls.py | 4 ++++ 4 files changed, 6 insertions(+) diff --git a/cards/templates/cards/bulk_edit.html b/cards/templates/cards/bulk_edit.html index bb04ac7..889995e 100644 --- a/cards/templates/cards/bulk_edit.html +++ b/cards/templates/cards/bulk_edit.html @@ -42,6 +42,7 @@ {% if formset %} {{ formset.management_form }} {% for form in formset.forms %} + {{ form.id }} {% if form.instance.image %} diff --git a/db.sqlite3 b/db.sqlite3 index 29c9d979ae829cf4e53bedae12f9b1def4e98caa..0ea7313fc642bbdb75a58c117cc1182201d9a47d 100644 GIT binary patch delta 37 tcmZp8z|ru4V}dlJ^F$eEM(2$Qjq{nAWqqd4*JqM${y%^F|M`rJ6955~4jupi delta 32 ocmZp8z|ru4V}dlJ(?l6(MyHJljq@in&KGU|Hh=rK`HWl>0MZc+Y5)KL diff --git a/templates/cards/bulk_edit.html b/templates/cards/bulk_edit.html index 7fc9ed6..864b7ce 100644 --- a/templates/cards/bulk_edit.html +++ b/templates/cards/bulk_edit.html @@ -41,6 +41,7 @@ {% if formset %} {{ formset.management_form }} {% for form in formset.forms %} + {{ form.id }} {% if form.instance.image %} diff --git a/toptrumps/urls.py b/toptrumps/urls.py index 8f98819..12c5b50 100644 --- a/toptrumps/urls.py +++ b/toptrumps/urls.py @@ -16,11 +16,15 @@ Including another URLconf """ from django.contrib import admin from django.urls import path, include +from django.views.generic import RedirectView from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), + # legacy prefixed paths: redirect /cards/overview/ -> /overview/ + path('cards/overview/', RedirectView.as_view(url='/overview/', permanent=False)), + path('cards/overview/bulk-update/', RedirectView.as_view(url='/overview/bulk-update/', permanent=False)), path('', include('cards.urls')), ]