Skip to content

Start a new Django project

Amin Zamani edited this page Jun 25, 2024 · 4 revisions

Create project folder

mkdir <project_name>
cd project_name

Create Python virtual venv

python3 -m venv .venv

Activate virtual env

windows

.venv/scripts/activate

linux - mac

.venv/bin/activate

If you want to deactivate virtual env

deactivate 

Install Django (~= same as 4.1.*)

pip install django
pip install django~=4.1

New Django project (from project_name folder)

django-admin startproject config .

Create new app (from project_name folder)

python manage.py startapp <app_name>

Python

Python Essentials 1 (PCEP)

Introduction to Python and computer programming

Data types, variables, basic I/O operations, and basic operators

Boolean values, conditional execution, loops, lists and list processing, logical and bitwise operations

Clean Code

Algorithms

Django

Django Rest Framework

API

pip

SQLAlchemy

FastAPI

Pytest

TDD

Git

Linux

Docker

Python Testing

Interview Questions

Clone this wiki locally