We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b42d781 commit e466aa9Copy full SHA for e466aa9
djangocms_alias/admin.py
@@ -83,9 +83,10 @@ def get_queryset(self, request: HttpRequest) -> models.QuerySet:
83
84
def get_list_display(self, request: HttpRequest) -> Iterable[str]:
85
list_display = super().get_list_display(request)
86
+ list_display = list(list_display)
87
if hasattr(self, "get_author"):
- list_display = list(list_display)
88
list_display.insert(-1, "get_author")
89
+ if hasattr(self, "get_modified_date"):
90
list_display.insert(-1, "get_modified_date")
91
return list_display
92
0 commit comments