Permalink
Browse files

add StatusReportAdmin

  • Loading branch information...
1 parent 43875be commit ba528efca0ed3e8507c93a482178e66da98457e2 @Akuryou Akuryou committed Dec 15, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 skrill/admin.py
View
@@ -3,6 +3,10 @@
from skrill.models import PaymentRequest, StatusReport
+class StatusReportAdmin(admin.ModelAdmin):
+ list_display = ('time', 'status', 'amount', 'currency', 'valid', 'signal_sent',)
+ list_filter = ('time', 'status', 'valid', 'signal_sent',)
+
admin.site.register(PaymentRequest)
-admin.site.register(StatusReport)
+admin.site.register(StatusReport, StatusReportAdmin)

0 comments on commit ba528ef

Please sign in to comment.