Skip to content

Commit 905cd6e

Browse files
authored
fix: remove deprecated download_url field from badges app (#2792)
Cleanup badges admin classes that were referencing deprecated field download_url. Deprecation PRs: #2747, #2748
1 parent 33e3ce1 commit 905cd6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

credentials/apps/badges/admin.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,6 @@ class CredlyBadgeAdmin(admin.ModelAdmin):
550550
"credential_id",
551551
"credential_content_type",
552552
"username",
553-
"download_url",
554553
"state",
555554
"uuid",
556555
"external_uuid",
@@ -616,7 +615,6 @@ class AccredibleBadgeAdmin(admin.ModelAdmin):
616615
"credential_id",
617616
"credential_content_type",
618617
"username",
619-
"download_url",
620618
"state",
621619
"uuid",
622620
"external_id",

credentials/settings/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,5 @@
8787
add_plugins(__name__, PROJECT_TYPE, SettingsType.TEST)
8888

8989
BADGES_CONFIG["credly"]["USE_SANDBOX"] = True
90+
BADGES_CONFIG["accredible"]["USE_SANDBOX"] = True
91+
BADGES_ENABLED = True

0 commit comments

Comments
 (0)