Re: [Snowy] [PATCH trivial] Fix searching for notes in the django admin
- From: Jeff Schroeder <jeffschroeder computer org>
- To: Sandy Armstrong <sanfordarmstrong gmail com>
- Cc: snowy-list gnome org
- Subject: Re: [Snowy] [PATCH trivial] Fix searching for notes in the django admin
- Date: Thu, 22 Jul 2010 20:33:27 -0700
On Thu, Jul 22, 2010 at 8:05 PM, Sandy Armstrong
<sanfordarmstrong gmail com> wrote:
> looks good, please push
Pushed.
> 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)
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]