Skip to content

Commit

Permalink
Improve admin panel for NVPs
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Jul 19, 2010
1 parent 2513472 commit a8a5c36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion paypal/pro/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@


class PayPalNVPAdmin(admin.ModelAdmin):
list_display = L("user method flag flag_code created_at")
list_display = ('user', 'ipaddress', 'method', 'flag', 'flag_code', 'created_at')
list_filter = ('flag', 'created_at')
search_fields = ('user__email', 'ip_address', 'flag', 'firstname', 'lastname')
admin.site.register(PayPalNVP, PayPalNVPAdmin)

0 comments on commit a8a5c36

Please sign in to comment.