From 954ad2b74738a140ae242565d07de87e3666b657 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 16 Feb 2024 11:16:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(back)=20remove=20non=20existing=20?= =?UTF-8?q?fields=20in=20PortabilityRequestAdmin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the PortabilityRequestAdmin fields for_resource_id and for_resource_model were still present but not existing anymore in the model. --- CHANGELOG.md | 4 ++++ src/backend/marsha/core/admin.py | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c78c23a027..234b30dd1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed + +- Remove non existing fields in PortabilityRequestAdmin + ## [4.9.0] - 2023-12-04 ### Added diff --git a/src/backend/marsha/core/admin.py b/src/backend/marsha/core/admin.py index 180ea6e753..bcc9ad260b 100644 --- a/src/backend/marsha/core/admin.py +++ b/src/backend/marsha/core/admin.py @@ -497,8 +497,6 @@ class PortabilityRequestAdmin(admin.ModelAdmin): fields = ( "for_playlist", - "for_resource_id", - "for_resource_model", "from_playlist", "from_lti_consumer_site", "from_lti_user_id",