make EpayPaymentAdmin more useful
This commit is contained in:
parent
fa1aac03bb
commit
e8d10bb7a1
|
@ -16,12 +16,17 @@ from .models import (
|
|||
)
|
||||
|
||||
admin.site.register(EpayCallback)
|
||||
admin.site.register(EpayPayment)
|
||||
admin.site.register(CoinifyAPIInvoice)
|
||||
admin.site.register(CoinifyAPICallback)
|
||||
admin.site.register(CoinifyAPIRequest)
|
||||
|
||||
|
||||
@admin.register(EpayPayment)
|
||||
class EpayPaymentAdmin(admin.ModelAdmin):
|
||||
list_display = ["id", "order", "callback", "txnid"]
|
||||
list_display = ["order"]
|
||||
|
||||
|
||||
@admin.register(Invoice)
|
||||
class InvoiceAdmin(admin.ModelAdmin):
|
||||
list_display = ["id", "order", "customorder", "created", "updated"]
|
||||
|
|
Loading…
Reference in a new issue