rkthoya
December 15, 2022, 1:49pm
1
I am attempting to launch a personal django app, following this guide by @wsvincent , and bumping into the following error:
Creating database migrations
Error failed running /.../.venv/bin/python manage.py makemigrations: exit status 1
It happens right after the app is created, with an Admin URL and host name provided.
Might anyone know what could be going wrong?
I just updated that post. I think the issue is related to CSRF_TRUSTED_ORIGINS. It should include the https://
so in the initial stage, before you have a dedicated FLY url,:
CSRF_TRUSTED_ORIGINS = [“https://*.fly.dev”]
1 Like
rkthoya
December 15, 2022, 3:37pm
3
Works like a charm! Thanks Will.
1 Like
aki
December 26, 2022, 1:36am
4
I was stuck with that for a while
Thanks Will again… )
1 Like