[snowy] Fix searching for notes in the django admin
- From: Jeff Schroeder <jschroeder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snowy] Fix searching for notes in the django admin
- Date: Fri, 23 Jul 2010 03:30:54 +0000 (UTC)
commit 86434fb902caeea7bb740c35607dc6f9f7766d88
Author: Jeff Schroeder <jeffschroeder computer org>
Date: Thu Jul 22 19:14:59 2010 -0700
Fix searching for notes in the django admin
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]