Django ftyctl launch makemigrations: exit status 1

@hamishau Without a lot of context about your app, I’d first suggest you check the CSRF_TRUSTED_ORIGINS:

CSRF_TRUSTED_ORIGINS = [“https://*.fly.dev”]

It should start with a schema (http:// or https://).

I reproduced the problem locally on fly launch and missing schema. I got this error when trying to run makemigrations manually:

❯ python3 manage.py makemigrations
SystemCheckError: System check identified some issues:

ERRORS:
?: (4_0.E001) As of Django 4.0, the values in the CSRF_TRUSTED_ORIGINS setting must start with a scheme (usually http:// or https://) but found *.fly.dev. See the release notes for details.