Django is a high-level Python web framework that enables rapid development of secure and maintainable websites. It follows the model-template-view architectural pattern and provides a full-stack framework for building dynamic web applications.
I Assume you have :
Basic knowledge of Python programming language.
Basic knowledge of Web Technology i.e HTML, CSS and Javascript.
Check if Python is installed in your system
Open terminal and run below command
python --version
Creating environment
It is recommended to use virtual environment for dependencies and other packages.
Create a virtual environment
python -m venv env
Activate virtual environment
source env/bin/activate
Installing Django
Install python using pip command
pip install django
This command install latest version of django in your system
Verify Installation
django-admin --version
Creating your first Project
django-admin startproject projectname
Start the development server
python manage.py runserver
Open a web browser and navigate to http://localhost:8000/ to view the Django welcome page.