show preview
This commit is contained in:
parent
99a37b946a
commit
e5c332153d
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class PhotoAdmin(admin.ModelAdmin):
|
|||
search_fields = ['title', 'slug', 'caption']
|
||||
list_per_page = 10
|
||||
prepopulated_fields = {'slug': ('title',)}
|
||||
readonly_fields = ('date_taken',)
|
||||
readonly_fields = ('date_taken', 'admin_thumbnail')
|
||||
form = PhotoAdminForm
|
||||
if MULTISITE:
|
||||
filter_horizontal = ['sites']
|
||||
|
|
Loading…
Add table
Reference in a new issue