Skip to content

Commit

Permalink
Fix membership admin search
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacierno committed Nov 5, 2023
1 parent 6b6da45 commit 383c99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/association_membership/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ class PaymentInline(admin.TabularInline):
class MembershipAdmin(admin.ModelAdmin):
list_display = ("user", "status")
list_filter = ("status",)
search_fields = ("user__email", "user__first_name", "user__last_name")
search_fields = ("user__email", "user__full_name", "user__name")
autocomplete_fields = ("user",)
inlines = [PaymentInline]

1 comment on commit 383c99f

@vercel
Copy link

@vercel vercel bot commented on 383c99f Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pycon – ./frontend/

pycon.it
www.pycon.it
pycon-git-main-python-italia.vercel.app
pycon-python-italia.vercel.app
2023.pycon.it

Please sign in to comment.