mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 20:02:20 +01:00
reports: Make songs readonly for performance
This commit is contained in:
@ -32,3 +32,4 @@ class SongAdmin(admin.ModelAdmin):
|
||||
class ReportNoteAdmin(admin.ModelAdmin):
|
||||
list_display = ('song', 'note', 'user')
|
||||
search_fields = ('song__artist', 'song__title', 'user__name')
|
||||
readonly_fields = ('song',)
|
||||
|
||||
Reference in New Issue
Block a user