Permalink
Browse files

Improve admin panel for NVPs

  • Loading branch information...
dcramer committed Jul 19, 2010
1 parent 2513472 commit a8a5c36e994e259ec469f0583555ddf07c8e1823
Showing with 3 additions and 1 deletion.
  1. +3 −1 paypal/pro/admin.py
View
@@ -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.