Sponsor ticket has no name.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-08-16 14:53:58 +02:00
parent 9fd5dc27bf
commit e7fd3d9986

View file

@ -47,7 +47,7 @@ class SponsorTicketAdmin(BaseTicketAdmin):
'sponsor',
]
search_fields = ['name', 'email', 'sponsor__name']
search_fields = ['pk', 'email', 'sponsor__name']
@admin.register(DiscountTicket)