django

Package — Web FrameworkPython 3.8+Intermediate

Full-stack web framework with ORM, admin panel, auth, templates, migrations

Quick Info

Documentation
Official Docs
Python Version
3.8+
Dependencies
asgiref, sqlparse, tzdata
Install
pip install django

Learn by Difficulty

Quick Example

python
# Install: pip install django
# In views.py
from django.http import HttpResponse
from django.shortcuts import render

def hello(request):
    return HttpResponse("Hello, World!")

def home(request):
    context = {"title": "My Site", "items": [1, 2, 3]}
    return render(request, "home.html", context)

django is a third-party package. Full-stack web framework with ORM, admin panel, auth, templates, migrations. Install with: pip install django

Try in Playground

Tags

packagewebframeworkfull-stackormadmin

Related Items