How to Create a fresh Django Project in Pycharm

Generic placeholder image
Brijpal Sharma
python django  

Date:-September 17th, 2019 , Posted On:- Web Development


In this blog post, we are going to learn how to create a fresh Django project in Pycharm and on favorite web browser.

Step: 1 Open you Pycharm IDE to create a new Django project.

To create your first project open Pycharm and select file option from the left of side of bar.click on File and select New Project. After that select path where you want to create a project.

How to Create a fresh Django Project in Pycharm

Step: 2 Wait for a few minutes to create a fresh project.

After a few minutes, you will see some folder and files in the selected directory.

Django URLs tutorial step by step

Step: 3 Create an App in your Django project using command.

Open command on project location and run the following command.

django-admin startproject mysite

How to Create a fresh Django Project in Pycharm

After running this command you will see another folder mysite created in your Django project.

Step: 4 Final step is to run the Django server

Now we almost completed not we will run Django server and see the browser.

How to Create a fresh Django Project in Pycharm

After running the server Django run the on the port  http://127.0.0.1:8000/

How to Create a fresh Django Project in Pycharm

See the Home page of Django.

How to Create a fresh Django Project in Pycharm

 

So here we completed the tutorial on How to Create a fresh Django Project in Pycharm hope its help you.


About the author

user profile
Brijpal Sharma

Hello, My Name is Brijpal Sharma. I am a Web Developer, Professional Blogger and Digital Marketer from India. I am the founder of Codermen. I started this blog to help web developers & bloggers by providing easy and best tutorials, articles and offers for web developers and bloggers...

0 comments

You must be logged in to post a comment.