Backend Draft

This commit is contained in:
__init__
2026-02-23 20:31:53 +05:30
commit eec700af51
127 changed files with 2356 additions and 0 deletions

8
backend/tenants/admin.py Normal file
View 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',)