[Snowy] [PATCH trivial] Fix searching for notes in the django admin



From: Jeff Schroeder <jschroeder gnome org>

---
 notes/admin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/notes/admin.py b/notes/admin.py
index 6654a55..5224151 100644
--- a/notes/admin.py
+++ b/notes/admin.py
@@ -22,7 +22,7 @@ from django.contrib import admin
 
 class NoteAdmin(VersionAdmin):
     list_display = ('created', 'author', 'title')
-    search_fields = ['body', 'title']
+    search_fields = ['content', 'title']
     prepopulated_fields = {'slug': ('title',)}
 
 admin.site.register(Note, NoteAdmin)
-- 
1.7.0.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]