Seeing as it's so easy, why not make photos searchable in the admin
interface? They may have metadata which makes them easily findable with
keywords, wheras finding it via a gallery or browsing the pages of photos
may be alot harder.
*** admin_orig.py 2008-11-11 14:24:27.000000000 -0300
--- admin.py 2008-11-11 14:24:23.000000000 -0300
***************
*** 14,19 ****
--- 14,20 ----
class PhotoAdmin(admin.ModelAdmin):
list_display = ('title', 'date_taken', 'date_added', 'is_public',
'tags', 'view_count', 'admin_thumbnail')
list_filter = ['date_added', 'is_public']
+ search_fields = ['title', 'title_slug', 'caption']
list_per_page = 10
prepopulated_fields = {'title_slug': ('title',)}
Original issue reported on code.google.com by ssadl...@googlemail.com on 12 Nov 2008 at 4:37
Original issue reported on code.google.com by
ssadl...@googlemail.com
on 12 Nov 2008 at 4:37