Replaced is_public flag by brand new privacy_level field on playlists

This commit is contained in:
Eliot Berriot 2018-03-16 23:30:37 +01:00
parent 9fdbc7b859
commit 859f8a0570
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 27 additions and 3 deletions

View file

@ -5,7 +5,7 @@ from . import models
@admin.register(models.Playlist)
class PlaylistAdmin(admin.ModelAdmin):
list_display = ['name', 'user', 'is_public', 'creation_date']
list_display = ['name', 'user', 'privacy_level', 'creation_date']
search_fields = ['name', ]
list_select_related = True