Initial commit
This commit is contained in:
18
plans/admin.py
Normal file
18
plans/admin.py
Normal file
@@ -0,0 +1,18 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user