SyntaxFix
Write A Post
Hire A Developer
Questions
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.