1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-21 22:09:36 +02:00

feat: Add profile page server load function and Svelte component

This commit is contained in:
Sean Morley 2024-07-10 11:34:19 -04:00
parent ad90f03a45
commit dc49416bf6
3 changed files with 49 additions and 2 deletions

View file

@ -209,6 +209,5 @@ CORS_ORIGIN_ALLOW_ALL = True
from os import getenv
CSRF_TRUSTED_ORIGINS = getenv('CSRF_TRUSTED_ORIGINS', 'localhost').split(',')
CSRF_TRUSTED_ORIGINS = [origin.strip() for origin in getenv('CSRF_TRUSTED_ORIGINS', 'http://localhost').split(',') if origin.strip()]
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'