Profiling Django with PyCharm Profiling Django with PyCharm django django

Profiling Django with PyCharm


You should probably set configuration properly.

enter image description here

Then click on Edit Configurations...

enter image description here

The main thing is to set Interpreter (your virtual environment). You don't have to set Custom Run Command if you use python manage.py runserver

Then you can run Django server directly from PyCharm ann Profiler too.