{
 "kind": "tool",
 "slug": "django",
 "path": "tools/django/",
 "name": "Django",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "HTTP servers and APIs",
   "tools/http-servers/"
  ]
 ],
 "lead": "High-level Python web framework for rapid development with clean design.",
 "chips": [
  {
   "label": "HTTP servers and APIs",
   "path": "tools/http-servers/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install django"
 },
 "links": [
  {
   "label": "Website",
   "href": "https://www.djangoproject.com/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://www.djangoproject.com/"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "",
   "src": "https://www.djangoproject.com/"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "24 projects",
   "status": "info",
   "sub": "#23 of 102 in its category",
   "note": "Dependency in 24 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "6 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Django does",
   "parts": [
    {
     "t": "prose",
     "text": "High-level Python web framework for rapid development with clean design."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Django popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "64",
       "of": "/ 100",
       "l": "Gid Score, #766 overall"
      },
      {
       "n": "12.1M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "24",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Django is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Django is a dependency in 24 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 1,623 Python ones), #23 of 102 in http servers and apis.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 182; those are left out of every share on this page.",
      "The most used alternative in our scan is FastAPI (465 projects).",
      "Projects that use it most often also use Requests (45.8%), WhiteNoise (45.8%), Pillow (41.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "13 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "12 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "11 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 45.8% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 45.8% of its projects",
       "v": "WhiteNoise",
       "path": "tools/whitenoise/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "Gunicorn",
       "path": "tools/gunicorn/"
      },
      {
       "l": "In 37.5% of its projects",
       "v": "psycopg",
       "path": "tools/psycopg/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "redis (Python)",
       "path": "tools/redis-pypi/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 29.2% of its projects",
       "v": "Sentry SDK",
       "path": "tools/sentry-sdk/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Django",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/django",
        "Own page: https://www.djangoproject.com/fundraising/",
        "140 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "django-expert: Use when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.p",
        "django-expert: Expert Django backend development guidance. Use when creating Django models, views, serializers, or APIs; debugging ORM queries or migration",
        "django-patterns: Django architecture patterns including DRF, ORM optimization, signals, middleware, and project structure",
        "django-pro: Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and",
        "django-patterns: Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps.",
        "django-access-review: Django access control and IDOR security review. Use when reviewing Django views, DRF viewsets, ORM queries, or any Python/Django code handli"
       ]
      },
      {
       "title": "More in HTTP servers and APIs",
       "path": "tools/http-servers/",
       "items": [
        {
         "text": "Uvicorn",
         "path": "tools/uvicorn/"
        },
        {
         "text": "Express",
         "path": "tools/express/"
        },
        {
         "text": "cors",
         "path": "tools/cors/"
        },
        {
         "text": "python-multipart",
         "path": "tools/python-multipart/"
        },
        {
         "text": "Hono",
         "path": "tools/hono/"
        },
        {
         "text": "express-rate-limit",
         "path": "tools/express-rate-limit/"
        },
        {
         "text": "multer",
         "path": "tools/multer/"
        },
        {
         "text": "Gunicorn",
         "path": "tools/gunicorn/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Django",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 64",
        "12.1M/wk"
       ]
      },
      {
       "name": "FastAPI",
       "why": "High-performance Python web framework with automatic API docs and async support.",
       "path": "tools/fastapi/",
       "facts": [
        "MIT",
        "Gid 91",
        "136M/wk"
       ]
      },
      {
       "name": "Flask",
       "why": "Lightweight Python web framework for building web applications and APIs.",
       "path": "tools/flask/",
       "facts": [
        "BSD-3-Clause",
        "Gid 85",
        "40.4M/wk"
       ]
      },
      {
       "name": "Starlette",
       "why": "Lightweight ASGI web framework for building Python APIs and web applications.",
       "path": "tools/starlette/",
       "facts": [
        "BSD-3-Clause",
        "Gid 78",
        "174M/wk"
       ]
      },
      {
       "name": "Tornado",
       "why": "High-performance Python web framework and async networking library for building servers.",
       "path": "tools/tornado/",
       "facts": [
        "Apache-2.0",
        "Gid 76",
        "29.1M/wk"
       ]
      }
     ],
     "more": "Compare Django with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install django"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Django yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi django"
  ],
  [
   "Category",
   "HTTP servers and APIs"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "63.5"
  ],
  [
   "Rank in category",
   "#23 of 102"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": null
}