JetBrains / awesome-pycharm

A curated list of resources for learning and using PyCharm, a Python IDE from JetBrains
Apache License 2.0
278 stars 45 forks source link

Configure PyCharm for Python/Django #4

Closed srijannnd closed 5 years ago

srijannnd commented 5 years ago

A step by step walkthrough to get most out Pycharm for Django. I have also included screenshots for every step. I have implemented features like Database Viewer, Run manage.py Task.., create debug points and run project in debug mode, manage virtual environments etc.

pauleveritt commented 5 years ago

Really enjoyed this, thanks for taking the time to make the detailed screenshots.

Just curious, why did you show making the Project Interpreter after making the project (and thus doubling the delay for indexing)? Plus, it skips a number of screens. If you do choose to re-do this later, upgrade to 2018.2 as the screens might be a little different.

Small note: "9. Lets" -> "9. Let's" with an apostrophe (also on step 24, 28.)

Good job showing debug early. People skip that and they shouldn't, as it is a great way to develop.

In step 15, you could later choose instead to edit requirements.txt and PyCharm will prompt you to install it. It isn't critical though to show it in this overview.

Good job making a note about Django 2.0 and the url function.

I really like that you chose to show connecting the database. You can skip some of the configuration steps by simply dragging the .sqlite file from the Project tool window and dropping it on the Database tool window.

Very good section on stepping through the debugger!