fix(migration): create site stuff before socialaccount (#7999)

This commit is contained in:
Adrián Jesús Peña Rodríguez authored and GitHub committed 2025-06-11 13:34:21 +02:00
1 parent c17129afe3
commit e042445ecf
4 files changed
+97

No files matched your search

+7
View File
@@ -1,6 +1,13 @@
import warnings
from celery import Celery, Task
from config.env import env
# Suppress specific warnings from django-rest-auth: https://github.com/iMerica/dj-rest-auth/issues/684
warnings.filterwarnings(
"ignore", category=UserWarning, module="dj_rest_auth.registration.serializers"
)
BROKER_VISIBILITY_TIMEOUT = env.int("DJANGO_BROKER_VISIBILITY_TIMEOUT", default=86400)
celery_app = Celery("tasks")