fix: Integrate official aCAPTCHA v1.1 Web Component in GuestSignupModal and disable seed_data execution in production docker-compose

This commit is contained in:
Richard committed 2026-07-31 11:20:55 +02:00
1 parent 782d4d72a3
commit 5f2061f013
9 files changed
+128 -93

No files matched your search

@@ -1,4 +1,5 @@
from django.core.management.base import BaseCommand
from django.conf import settings
from apps.users.models import User, RegistrationDomainRule, RegistrationRestrictionSetting
from apps.events.models import Skill, Event, TaskArea, Shift, ShiftSignup, EventTemplate
from apps.branding.models import BrandingSetting
@@ -7,6 +8,10 @@ class Command(BaseCommand):
help = "Populate database with initial demo data including Demo Admin & Demo User"
def handle(self, *args, **options):
if not settings.DEBUG:
self.stdout.write(self.style.WARNING("seed_data wird im Produktionsmodus (DEBUG=False) übersprungen."))
return
# 1. Branding
branding = BrandingSetting.get_solo()
branding.app_name = "Veranstaltungsschichtplaner (Dev)"
Binary file not shown.