FIX admin lista quando non c'e' indirizzo

This commit is contained in:
boyska 2020-03-08 01:46:37 +01:00
parent 0f17820bcf
commit ffc94e7f87

View file

@ -13,6 +13,6 @@ class UserAdmin(auth.admin.UserAdmin):
@admin.register(RapportoRicezione)
class RapportoAdmin(admin.ModelAdmin):
list_display = ('indirizzo', 'created', 'author')
list_display = ('id', 'indirizzo', 'created', 'author')
list_filter = ('author', 'created')
search_fields = ('indirizzo',)