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



looks good, please push

On Thu, Jul 22, 2010 at 7:51 PM, Jeff Schroeder
<jeffschroeder computer org> wrote:
> 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
>
> _______________________________________________
> snowy-list mailing list
> snowy-list gnome org
> http://mail.gnome.org/mailman/listinfo/snowy-list
>


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