diff --git a/.replit b/.replit index 61cd4dfb..fdf1fdc3 100644 --- a/.replit +++ b/.replit @@ -39,6 +39,10 @@ externalPort = 80 localPort = 34277 externalPort = 3000 +[[ports]] +localPort = 37885 +externalPort = 3002 + [[ports]] localPort = 45245 externalPort = 3001 diff --git a/backend/config/django/base.py b/backend/config/django/base.py index f5020ffb..46227794 100644 --- a/backend/config/django/base.py +++ b/backend/config/django/base.py @@ -5,9 +5,17 @@ Common settings shared across all environments. from datetime import timedelta import sys +import warnings from pathlib import Path from decouple import config +# Suppress django-allauth deprecation warnings for dj_rest_auth compatibility +# TODO: Remove this once dj_rest_auth is updated to work with the new ACCOUNT_SIGNUP_FIELDS format +warnings.filterwarnings( + "ignore", + message=r"app_settings\.(USERNAME|EMAIL)_REQUIRED is deprecated", + module="dj_rest_auth.registration.serializers" +) # Initialize environment variables with better defaults