Running these commands solved my problem (credit to this answer):
import django
django.setup()
However I’m not sure why I need this. Comments would be appreciated.
Running these commands solved my problem (credit to this answer):
import django
django.setup()
However I’m not sure why I need this. Comments would be appreciated.