i701 4db9d7fabd
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m18s
Refactor device management: add vendor field, enhance admin display, and improve MAC address handling
2025-06-01 19:27:04 +05:00

24 lines
456 B
Python

from django.contrib import admin
from .models import Payment, BillFormula, Topup
# Register your models here.
class PaymentAdmin(admin.ModelAdmin):
list_display = (
"id",
"user",
"amount",
"number_of_months",
"paid",
"paid_at",
"method",
"created_at",
"updated_at",
)
admin.site.register(Payment, PaymentAdmin)
admin.site.register(BillFormula)
admin.site.register(Topup)