Skip to content

Commit 28197b9

Browse files
committed
fix(squash): display component_code in admin, not key
1 parent 3a446d5 commit 28197b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/openedx_content/applets/components

src/openedx_content/applets/components/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class ComponentAdmin(ReadOnlyModelAdmin):
3737
"""
3838
Django admin configuration for Component
3939
"""
40-
list_display = ("key", "uuid", "component_type", "created")
40+
list_display = ("component_code", "uuid", "component_type", "created")
4141
readonly_fields = [
4242
"learning_package",
4343
"uuid",
4444
"component_type",
45-
"key",
45+
"component_code",
4646
"created",
4747
]
4848
list_filter = ("component_type", "learning_package")

0 commit comments

Comments
 (0)