docs re-org

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-09 13:26:35 +00:00
parent 4d13a57068
commit 6a4f95c35a
231 changed files with 11353 additions and 31152 deletions

View File

@@ -99,8 +99,9 @@ class SiteSerializer(serializers.ModelSerializer):
- If domain has no protocol, add https://
- Validates that the final URL is valid
"""
if not value:
return value
# Allow empty/None values
if not value or value.strip() == '':
return None
value = value.strip()