Add parent albums
This commit is contained in:
parent
f3a94857d0
commit
b7c183d2f3
3 changed files with 16 additions and 4 deletions
|
@ -39,7 +39,7 @@ class AlbumAdmin(admin.ModelAdmin):
|
|||
prepopulated_fields = {'slug': ('name',)}
|
||||
list_display = ('__str__', 'location', 'album_date', 'is_public', 'thumbnail', )
|
||||
search_fields = ('name',)
|
||||
ordering = ('name',)
|
||||
ordering = ('-album_date',)
|
||||
list_per_page = 30
|
||||
list_editable = ('is_public', 'location')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue