Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Django Basics Say Hello to Django Starting the Project

Farbod Jahan
Farbod Jahan
1,993 Points

Django with Pycharm?

Is there a special way to accomplish this or do I just need to install Django through the plugins? I did pip install on cmd but what about for pycharm? Thanks

Also I can do django-admin startproject learning_site fine on workspaces but I'd rather use pycharm as my editor

3 Answers

Farbod Jahan
Farbod Jahan
1,993 Points

Only question is how do I preview the IP address 0.0.0.0:8080. For workbench theres a preview button but for pycharm there isn't anything I just do localhost

Flore W
Flore W
4,744 Points

For people using the Community version of PyCharm, when creating a new project, you will notice that the Project Type left hand bar is missing. You won't be able to create a Django project straight away.

So once you've created the Virtual Env, you'll have to type in the Terminal:

pip install Django
django-admin startproject learning-site

I wonder if we need to enter pip install Django everytime even if we already have Django installed... can anyone shed some light on the topic?