This commit is contained in:
Iliyan Angelov
2025-11-24 08:18:18 +02:00
parent 366f28677a
commit 136f75a859
133 changed files with 14977 additions and 3350 deletions

View File

@@ -0,0 +1,13 @@
from rest_framework import serializers
from .models import HomeBanner
class HomeBannerSerializer(serializers.ModelSerializer):
class Meta:
model = HomeBanner
fields = [
'id', 'icon', 'badge', 'heading', 'highlight', 'subheading',
'description', 'button_text', 'button_url', 'display_order',
'is_active', 'created_at', 'updated_at'
]