search galleries
This commit is contained in:
parent
a247a19fdb
commit
be7260b668
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ class GalleryAdminForm(forms.ModelForm):
|
||||||
|
|
||||||
|
|
||||||
class GalleryAdmin(admin.ModelAdmin):
|
class GalleryAdmin(admin.ModelAdmin):
|
||||||
|
search_fields = ['title', 'slug', 'description']
|
||||||
list_display = ('title', 'date_added', 'photo_count', 'is_public')
|
list_display = ('title', 'date_added', 'photo_count', 'is_public')
|
||||||
list_filter = ['date_added', 'is_public']
|
list_filter = ['date_added', 'is_public']
|
||||||
if MULTISITE:
|
if MULTISITE:
|
||||||
|
|
Loading…
Add table
Reference in a new issue