Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

add searching SignupCode for code and email in the admin #30

Merged
merged 1 commit into from

2 participants

@dstufft

Added search_fields for code and email to facilitate finding a particular code easier.

@jtauber jtauber merged commit 82a4312 into pinax:fresh-start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  pinax/apps/signup_codes/admin.py
View
1  pinax/apps/signup_codes/admin.py
@@ -6,6 +6,7 @@
class SignupCodeAdmin(admin.ModelAdmin):
list_display = ["code", "max_uses", "use_count", "expiry", "created"]
+ search_fields = ["code", "email"]
list_filter = ["created"]
Something went wrong with that request. Please try again.