Skip to content

Commit 5a60cfc

Browse files
committed
add payment models to admin
1 parent f9a2f8c commit 5a60cfc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

payment/admin.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
from django.contrib import admin
22

3+
from .models import Payment, PaymentHistory
4+
35
# Register your models here.
6+
7+
class PaymentAdmin(admin.ModelAdmin):
8+
pass
9+
10+
11+
class PaymentHistoryAdmin(admin.ModelAdmin):
12+
pass
13+
14+
15+
admin.site.register(Payment, PaymentAdmin)
16+
admin.site.register(PaymentHistory, PaymentHistoryAdmin)

0 commit comments

Comments
 (0)