The Wayback Machine - https://web.archive.org/web/20240822193032/https://www.geeksforgeeks.org/create-a-new-django-project-in-pycharm-using-pycharm-terminal/
Open In App

Create a new Django project in Pycharm using Pycharm Terminal

Last Updated : 06 Jun, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

PyCharm is one of the most popular Python-IDE developed by JetBrains used for performing scripting in Python language. PyCharm provides many useful features like Code completion and inspection, Debugging process, support for various programming frameworks such as Flask and Django, Package Management, etc. PyCharm provides various tools for productive development mainly in Python.

Django is a Python-based web framework which allows you to quickly create web application without all of the installation or dependency problems that you normally will find with other frameworks. It is very scalable. 

Let’s Start Creating a new Django Project in PyCharm using Pycharm Terminal.

Step By Step Implementation

Step 1: Open Your PyCharm and Click on Create New Project.

Step 2: Select Your Directory and then give a name to your project and then Click on Create.

Step 3 : Then Check if Django is installed or not in your Computer.

Type the following Command in pycharm Terminal located at Bottom Left.:

python -m django --version

 If it is Already installed then you will see the Django version installed in Your Computer. If not Then You can refer to Django Introduction and Installation.

Step 4: Start a project by using following command-

django-admin startproject firstproject

Step 5: Change directory to firstproject.

cd firstproject

Step 6: Start the server by typing following command in cmd–

python manage.py runserver

After You Click on the given Url (http://127.0.0.1:8000/) . You Will See your Development Server as shown in Below Image.



Similar Reads

How to create a new project in Django using Firebase Database?
Django is a Python-based web framework that allows you to quickly create efficient web applications. If you are new to Django then you can refer to Django Introduction and Installation. Here we are going to learn How to create a Django project using Firebase as Database . How to create a new project in Firebase ? Step 1: Firstly, We are going to Cr
3 min read
Adding Tags Using Django-Taggit in Django Project
Django-Taggit is a Django application which is used to add tags to blogs, articles etc. It makes very easy for us to make adding the tags functionality to our django project.Setting up Django Project Installing django-taggit pip install django-taggitADD it to Main Project's settings.py file C/C++ Code INSTALLED_APPS = [ 'django.contrib.admin', 'dja
2 min read
How to Clone Web Project From GitHub in Pycharm Using Git?
PyCharm is one of the most popular Integrated Development Environments (IDEs) for Python development. It provides robust support for version control systems like Git, making it easy to manage your code and collaborate with others. Cloning a web project from GitHub into PyCharm is a simple process that can significantly streamline your workflow. Thi
1 min read
Multi-Messenger : A python project, messaging via Terminal
The aim of this program is to let users mail/message on FB/SMS anyone using Terminal. The full project can be found here. So, first of all, why Multi-Messenger ? This is the first question which anyone will think about. The answer is simple, Terminal! Many of our work, now a days, lies in Terminal, talking about Programmers here in specific. So who
2 min read
How to Upload Project on GitHub from Pycharm?
PyCharm is one of the most popular Python-IDE developed by JetBrains used for performing scripting in Python language. PyCharm provides some very useful features like Code completion and inspection, Debugging process, support for various programming frameworks such as Flask and Django, Package Management, etc. PyCharm provides various tools for pro
3 min read
Rename a project on PyCharm
When working on software projects, it's not uncommon to need to change the project's name for various reasons, such as rebranding, organization, or simply to make the project structure more meaningful. Fortunately, PyCharm makes it easy to rename a project without causing any disruptions to your codebase. In this article, we will walk you through t
2 min read
How to edit an existing GitHub project in PyCharm?
PyCharm, a renowned integrated development environment (IDE), has earned its place as a favorite among Python developers. Developed by JetBrains, it is tailored to meet the specific needs of Python programmers. One of the many features that make PyCharm indispensable for Python developers is its seamless integration with Version Control systems. In
4 min read
How to Create a Basic Project using MVT in Django ?
Prerequisite - Django Project MVT Structure Assuming you have gone through the previous article. This article focuses on creating a basic project to render a template using MVT architecture. We will use MVT (Models, Views, Templates) to render data to a local server. Create a basic Project: To initiate a project of Django on Your PC, open Terminal
2 min read
Create a Pull Request on GitHub using Pycharm
Creating a pull request (PR) is an important step in contributing to a collaborative project on GitHub. PyCharm, a powerful IDE for Python, makes this process smooth and efficient. This guide will walk you through the steps to create a pull request on GitHub using PyCharm. Why Use PyCharm for GitHub Pull Requests?PyCharm integrates easily with Git
2 min read
How to create a Django project?
Dive into the world of web development with Python by exploring the versatile Django framework. Django is a go-to for many developers due to its popularity, open-source license, and robust security features. It enables fast and efficient project development. In this tutorial, we will guide you through the process of installing Django on a Windows m
5 min read
Django project to create a Comments System
Commenting on a post is the most common feature a post have and implementing in Django is way more easy than in other frameworks. To implement this feature there are some number of steps which are to be followed but first lets start by creating a new project. How to create Comment Feature in Django?Open command prompt and run the following commands
6 min read
Create a New Maven Project from Command Prompt
Maven is a powerful project management tool that is based on POM (project object model). It is used for projects build, dependency and documentation. It simplifies the build process like ANT. But it is too much advanced than ANT.In short, maven is a tool that can be used for building and managing any Java-based project. Maven makes the day-to-day w
2 min read
How to customize Django forms using Django Widget Tweaks ?
Django forms are a great feature to create usable forms with just few lines of code. But Django doesn't easily let us edit the form for good designs. Here, we will see one of the ways to customize Django forms, So they will look according to our wish on our HTML page. Basically we will check the methods to include our own custom css, classes, or id
3 min read
Integrating Django with Reactjs using Django REST Framework
In this article, we will learn the process of communicating between the Django Backend and React js frontend using the Django REST Framework. For the sake of a better understanding of the concept, we will be building a Simple Task Manager and go through the primary concepts for this type of integration between React js and Django. Reactjs in a nuts
15+ min read
Happy New Year 2024 | New Year Card Design using HTML CSS and JavaScript
Explore the perfect blend of creativity and technology with our Happy New Year card design tutorial using HTML, CSS, and JavaScript. Read step-by-step guide to craft visually stunning and interactive New Year cards for a memorable celebration. Elevate your web development skills while spreading joy and wishes in style. iframe {width: 100%; height:
7 min read
How to Build Simple Terminal like Website using jQuery ?
Terminal is one of the most common tool used by developers. Many applications, frameworks, and even programming languages have more function which can be invoked using command line interface. Most of the computers come with at least one terminal in their operating system with command prompt now most replaced by cross-platform powershell in windows,
4 min read
Display Images on Terminal using Python
In this article, we will discuss how to display images on a terminal using Python. We will be using the climage module for the same. This module has the following features - It helps to convert images to its ANSI Escape Codes to be able to convert be printable on Command-Line Interfaces.It allows 8/16/256 bit color codings for vivid images.It provi
3 min read
Formatted text in Linux Terminal using Python
This article demonstrates how to print formatted text in Linux terminal using Python programming language. Formatted text(also called styled text or rich text) as opposed to plain text, has styling information like: color (text color, background color), style (bold or italic), and some other special features like Strike-through text, underlined tex
4 min read
Python | How to make a terminal progress bar using tqdm
Whether you’re installing software, loading a page, or doing a transaction, it always eases your mind whenever you see that small progress bar giving you an estimation of how long the process would take to complete or render. If you have a simple progress bar in your script or code, it looks very pleasing to the eye and gives proper feedback to the
6 min read
Joke Application Project Using Django Framework
Django is a high-level Python-based Web Framework that allows rapid development and clean, pragmatic design. It is also called batteries included framework because Django provides built-in features for everything including Django Admin Interface, default database SQLlite3, etc. Today we will create a Joke app in Django. Installation pip3 install dj
2 min read
Wikipedia search app Project using Django
Django is a high-level Python based Web Framework that allows rapid development and clean, pragmatic design. It is also called batteries included framework because Django provides built-in features for everything including Django Admin Interface, default database – SQLlite3, etc. Today we will create joke app in django. In this article we will make
2 min read
Translator App Project using Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. Refer to the following articles to check how to cre
2 min read
Voting System Project Using Django Framework
Project Title: Pollster (Voting System) web application using Django frameworkType of Application (Category): Web application. Introduction: We will create a pollster (voting system) web application using Django. This application will conduct a series of questions along with many choices. A user will be allowed to give voting for that question by s
12 min read
Tip Calculator Project Using Django
In this article, we will guide you through the process of creating a Tip Calculator Project using Django. This interactive project requires users to input the bill amount, the desired percentage for the tip, and the number of people splitting the bill. The application will then compute and display the Total Tip per person along with the Total Amoun
6 min read
College Management System using Django - Python Project
In this article, we are going to build College Management System using Django and will be using dbsqlite database. In the times of covid, when education has totally become digital, there comes a need for a system that can connect teachers, students, and HOD and that was the motivation behind building this project. This project allows HOD, staff, an
15+ min read
Run the fast-api server using Pycharm
FastAPI is a Python web framework that makes it easy to build APIs quickly and efficiently. Returning an image is a common requirement in web development, and FastAPI makes it straightforward to do. another famous framework for doing the same is Flask, which is also Python-based. Pre-requisitePyCharm InstallationFast-APIPythonSteps to Run Fast-API
3 min read
Styling Django Forms with django-crispy-forms
Django by default doesn't provide any Django form styling method due to which it takes a lot of effort and precious time to beautifully style a form. django-crispy-forms solves this problem for us. It will let you control the rendering behavior of your Django forms in a very elegant and DRY way. Modules required:django : django installdjango-crispy
1 min read
How to Fix Django "ImportError: Cannot Import Name 'six' from 'django.utils'"?
After Django 3.0, django.utils.six was removed. The "ImportError: Cannot Import Name 'six' from 'django.utils'" error occurs because of the dependency issue. This happens because when the project tries to use something that’s no longer available. Don’t worry—it’s easy to fix. We’ll explain why this error happens and give you simple steps to solve i
3 min read
New self vs. new static in PHP
New self: The self is keyword in PHP. It refers to the same class in which the new keyword is actually written. It refers to the class members, but not for any particular object. This is because the static members(variables or functions) are class members shared by all the objects of the class. The function called self::theFunction() behaves like "
4 min read
Create a New React App - npm create-react-app
The create react app command allows us to create a development environment and install all necessary libraries for creating single-page applications using React. The CRA tool is used to set up a new React project quickly, providing a standard structure and configuration. It includes a development server, build scripts, and support for modern JavaSc
3 min read
Practice Tags :
three90RightbarBannerImg