I found out that you should have all imports in the init.py file. So I put all imports there and in another py file, in the same project directory, it doesn\'t