develmaycare / pyprojectutils

A collection of documentation and command line utilities for managing a software project.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Document Common Issues and Steps When Working With PyCharm #26

Open develmaycare opened 7 years ago

develmaycare commented 7 years ago

A few things come to mind:

Put additional ideas in the comments.

develmaycare commented 7 years ago

Include removing a virtual environment from PyCharm before removing it from the command line.

develmaycare commented 7 years ago

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.