Skip to content

Commit

Permalink
Pouvoir chercher par utilisateur dans l'admin des images
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasBerbesson committed Jul 25, 2022
1 parent e878f70 commit 63223c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orgues/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class FichierAdmin(admin.ModelAdmin):
class ImageAdmin(admin.ModelAdmin):
list_display = ('pk', 'orgue', 'credit', 'is_principale','user')
list_editable = ('credit',)
search_fields = ('user__first_name','user__last_name')


@admin.register(Facteur)
Expand Down

0 comments on commit 63223c7

Please sign in to comment.