mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 20:52:20 +01:00
Enable searching through songs in the admin panel.
This commit is contained in:
@ -6,3 +6,4 @@ from .models import Song
|
||||
@admin.register(Song)
|
||||
class OrderAdmin(admin.ModelAdmin):
|
||||
list_display = ('artist', 'title', 'user')
|
||||
search_fields = ('artist', 'title', 'user')
|
||||
|
||||
Reference in New Issue
Block a user