make EpayPaymentAdmin more useful

This commit is contained in:
Thomas Steen Rasmussen 2021-08-03 08:45:41 +02:00
parent fa1aac03bb
commit e8d10bb7a1

View file

@ -16,12 +16,17 @@ from .models import (
) )
admin.site.register(EpayCallback) admin.site.register(EpayCallback)
admin.site.register(EpayPayment)
admin.site.register(CoinifyAPIInvoice) admin.site.register(CoinifyAPIInvoice)
admin.site.register(CoinifyAPICallback) admin.site.register(CoinifyAPICallback)
admin.site.register(CoinifyAPIRequest) admin.site.register(CoinifyAPIRequest)
@admin.register(EpayPayment)
class EpayPaymentAdmin(admin.ModelAdmin):
list_display = ["id", "order", "callback", "txnid"]
list_display = ["order"]
@admin.register(Invoice) @admin.register(Invoice)
class InvoiceAdmin(admin.ModelAdmin): class InvoiceAdmin(admin.ModelAdmin):
list_display = ["id", "order", "customorder", "created", "updated"] list_display = ["id", "order", "customorder", "created", "updated"]