Backend Draft
This commit is contained in:
8
backend/tenants/admin.py
Normal file
8
backend/tenants/admin.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.contrib import admin
|
||||
from .models import Tenant
|
||||
|
||||
@admin.register(Tenant)
|
||||
class TenantAdmin(admin.ModelAdmin):
|
||||
list_display = ('name', 'subdomain', 'is_active', 'created_at')
|
||||
search_fields = ('name', 'subdomain')
|
||||
list_filter = ('is_active',)
|
||||
Reference in New Issue
Block a user