remove old image fields - migrated to library

This commit is contained in:
Tobias Brunner 2025-07-08 11:45:13 +02:00
parent 93eb45930a
commit 272e068a12
No known key found for this signature in database
6 changed files with 16 additions and 56 deletions

View file

@ -66,11 +66,8 @@ class ArticleAdmin(admin.ModelAdmin):
(
"Images",
{
"fields": (
"image_library",
"image",
), # New image library field and legacy field
"description": "Use the Image Library field for new images. Legacy field will be removed after migration.",
"fields": ("image_library",),
"description": "Select an image from the Image Library.",
},
),
(

View file

@ -52,11 +52,8 @@ class CloudProviderAdmin(SortableAdminMixin, admin.ModelAdmin):
(
"Images",
{
"fields": (
"image_library",
"logo",
), # New image library field and legacy field
"description": "Use the Image Library field for new images. Legacy field will be removed after migration.",
"fields": ("image_library",),
"description": "Select an image from the Image Library.",
},
),
(
@ -98,11 +95,8 @@ class ConsultingPartnerAdmin(SortableAdminMixin, admin.ModelAdmin):
(
"Images",
{
"fields": (
"image_library",
"logo",
), # New image library field and legacy field
"description": "Use the Image Library field for new images. Legacy field will be removed after migration.",
"fields": ("image_library",),
"description": "Select an image from the Image Library.",
},
),
(

View file

@ -98,11 +98,8 @@ class ServiceAdmin(admin.ModelAdmin):
(
"Images",
{
"fields": (
"image_library",
"logo",
), # New image library field and legacy field
"description": "Use the Image Library field for new images. Legacy field will be removed after migration.",
"fields": ("image_library",),
"description": "Select an image from the Image Library.",
},
),
(