To solve the issue: I move the management folder one level up in my folder tree. In other words, in the same folder as settings.py