Open develmaycare opened 7 years ago
Include removing a virtual environment from PyCharm before removing it from the command line.
Just had a problem where apps installed in the environment weren't recognized in PyCharm. The command line was also given an error on ./manage.py makemigrations
. I had removed the virtual environment from PyCharm, then from the command line, then recreated and re-installed the requirements along with the apps. However, it was still given the error that the apps in settings.py
did not exist. So I went into the Django preferences of PyCharm and re-selected the new environment and it started working again.
A few things come to mind:
Error: That port is already in use.
after a crash or restart when the local Django server was not terminated.docs/build
to avoid problems with indexing and search.Put additional ideas in the comments.