Django Basics: Python Web Framework for Rapid Development

Today I started learning Django and here’s what I understood so far: 🔹 What is Django? Django is a high-level Python web framework used to build websites and web applications quickly. It follows the MVT (Model-View-Template) architecture and comes with many built-in features like authentication, admin panel, ORM, and more. 🔹 Why do we use Django? Instead of building everything from scratch, Django gives many ready-made components. It saves time, improves security, and helps us follow best practices while building web apps. 🔹 Framework vs Library  In a library, we control the flow of the program and call the library when needed.In a framework, the framework controls the flow, and we plug our code into it.Django is a framework because it decides the structure and workflow. 🔹 Creating a Project django-admin startproject projectname 🔹 Creating an App python manage.py startapp appname 🔹 To start the server  python manage.py runserver Tommorow I dive deep into the topics and create my own project and apps #Django #Python #WebDevelopment #LearningJourney #BackendDevelopment

To view or add a comment, sign in

Explore content categories