diff options
author | luxagraf <sng@luxagraf.net> | 2024-03-09 08:28:54 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-03-09 08:28:54 -0600 |
commit | 6ad149c399104c9efd69a21ae9bcfdcc323b9634 (patch) | |
tree | cea564cd6ab556f1ac804fd67eacb5a29b03c394 | |
parent | 6a63f7e874ccdd94b86d0e486c05898805663eb1 (diff) |
norm: added search to admin
-rw-r--r-- | app/normalize/admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/normalize/admin.py b/app/normalize/admin.py index 3f8984a..9edbab4 100644 --- a/app/normalize/admin.py +++ b/app/normalize/admin.py @@ -8,6 +8,7 @@ from .models import RelatedPost class RelatedPostAdmin(admin.ModelAdmin): list_display = ('title', 'slug', 'pub_date', 'model_name', 'post_type') list_filter = ['model_name'] + search_fields = ['title', 'slug'] class Media: js = ('next-prev-links.js',) |