Files
pyGoEdge-UserPanel/plans/admin.py

19 lines
391 B
Python
Raw Normal View History

2025-11-18 03:36:49 +08:00
from django.contrib import admin
from .models import Plan
@admin.register(Plan)
class PlanAdmin(admin.ModelAdmin):
list_display = (
'name',
'base_price_per_domain',
'included_traffic_gb_per_domain',
'overage_price_per_gb',
'is_active',
'is_public',
'updated_at',
)
search_fields = ('name',)
# Register your models here.