fields = ['form_tag', 'created_at', 'contact', 'ip']
readonly_fields = ['form_tag', 'created_at', 'contact', 'ip']
list_filter = ['form_tag']
+ search_fields = ['contact', 'body']
@staticmethod
def admin_list(obj, nr):
readonly_fields = ('contact', 'readable_contact', 'readable_age', 'school_phone', 'key', 'confirmed')
list_filter = ('confirmed',)
list_select_related = ('contact',)
+ search_fields = ('last_name', 'email', 'contact__contact')
def resend_mail(self, request, queryset):
for confirmation in queryset: