Skip to content

Commit

Permalink
add get_cleaned_title at InterestedInAdmin class
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebamus committed Oct 8, 2024
1 parent 6f08886 commit b100ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portfolio/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ class InterestedInAdmin(CustomAdminMixin):
cache_prefix = "portfolio"
use_pk = False

list_display = ["id", "title", "language", "created_at"]
list_display_links = ["id", "title"]
list_display = ["id", "get_cleaned_title", "language", "created_at"]
list_display_links = ["id", "get_cleaned_title"]
list_editable = ("language",)
fieldsets = [
("language", {"fields": ("language",)}),
Expand Down

0 comments on commit b100ca0

Please sign in to comment.