Trying to run a management command with no success. Was getting an error in terminal ImportError, and in my IDE it would not resolve the models. I found the answer and the issue was that I was not running the management command via manage.py.
The error in terminal would come up when running
../management/commands$ python import_puzzle.py