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:
parent
ad90f03a45
commit
dc49416bf6
3 changed files with 49 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue