Skip to content

Commit

Permalink
fix a minor bug in admin.py file (#2455)
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 authored Jul 17, 2024
1 parent e39ffe0 commit 2e60585
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,14 @@ class ProjectAdmin(admin.ModelAdmin):
list_display = (
"id",
"name",
"slug",
"description",
"url",
"homepage_url",
"created",
"modified",
)

search_fields = ["name", "description", "url"]
search_fields = ["name", "description", "slug"]


# Register all models with their respective admin classes
Expand Down

0 comments on commit 2e60585

Please sign in to comment.