# django/django SLOC report

> As of 2026-09-08 (commit 802baf5da5b8), django/django contains 543,623 total lines: 392,744 code, 44,971 comments, 105,908 blank, across 3,582 files in 15 languages (top: PO File 60.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

django/django has 392,744 source lines of code out of 543,623 total lines across 3,582 files, counted from the 802baf5da5b8d8b44990a8214a43b951e7ab8b39 ref at commit 802baf5da5b8 by the OctoCounts tokei engine on 2026-09-08. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving django/django to commit 802baf5da5b8, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 72.2% of all lines, comments represent 8.3%, and the repository averages 110 code lines per file. PO File accounts for 60.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 1,226 | 357,372 | 238,641 | 33,566 | 85,165 |
| Python | 877 | 151,614 | 122,087 | 10,326 | 19,201 |
| Modelica | 1,226 | 22,448 | 22,104 | 337 | 7 |
| CSS | 14 | 4,636 | 3,640 | 114 | 882 |
| JavaScript | 34 | 3,858 | 3,227 | 315 | 316 |
| HTML | 163 | 2,905 | 2,637 | 8 | 260 |
| SVG | 25 | 308 | 154 | 154 | 0 |
| INI | 1 | 89 | 74 | 6 | 9 |
| TOML | 1 | 67 | 59 | 0 | 8 |
| ReStructuredText | 2 | 84 | 56 | 0 | 28 |
| XML | 2 | 29 | 29 | 0 | 0 |
| JSON | 1 | 20 | 20 | 0 | 0 |

Top language (PO File 60.8%). Generated at 2026-09-08T06:53:04.949195507+00:00. Canonical report: https://octocounts.com/github/django/django

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/django/django/commit/802baf5da5b8d8b44990a8214a43b951e7ab8b39?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does django/django have?

django/django has 543,623 total lines, including 392,744 code lines, 44,971 comment lines, and 105,908 blank lines.

### How was the django/django line count measured?

OctoCounts resolved the public GitHub repository to commit 802baf5da5b8, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for django/django?

This OctoCounts report was generated from 802baf5da5b8d8b44990a8214a43b951e7ab8b39 at commit 802baf5da5b8 on 2026-09-08T06:53:04.949195507+00:00.

## Similar repository reports

- [KDE/dolphin](https://octocounts.com/github/KDE/dolphin) — PO File, 394,208 code lines
- [frePPLe/frepple](https://octocounts.com/github/frePPLe/frepple) — PO File, 401,670 code lines
- [wagtail/wagtail](https://octocounts.com/github/wagtail/wagtail) — PO File, 365,770 code lines
- [gitGNU/gnu_bash](https://octocounts.com/github/gitGNU/gnu_bash) — PO File, 296,705 code lines
- [guillemj/dpkg](https://octocounts.com/github/guillemj/dpkg) — PO File, 546,340 code lines
- [CytopiaTeam/Cytopia](https://octocounts.com/github/CytopiaTeam/Cytopia) — PO File, 184,008 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
