roo roo roo down the river we go...

This commit is contained in:
2025-10-24 21:47:45 -05:00
parent 31f3ba08c2
commit bb115e8665
18 changed files with 699 additions and 8 deletions

12
tenants/serializers.py Normal file
View File

@@ -0,0 +1,12 @@
from rest_framework import serializers
from .models import Tenant
class TenantSerializer(serializers.ModelSerializer):
"""
Serializer for the Tenant model.
"""
class Meta:
model = Tenant
fields = '__all__'
read_only_fields = ('created_at', 'updated_at', 'schema_name')