Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Django REST framework architecture

Changing __init__.py in Django REST framework reaches 42 modules. 23 files call it directly. Snapshot f9c0ec5.

The first file to open in Django REST framework is __init__.py. A change there reaches 42 of 73 modules.

This lead file reaches 58% of the graph. The median published proof reaches 60%.

__init__.py42 · 23 fan-in
settings.py34 · 24 fan-in
utils/__init__.py30 · 8 fan-in
exceptions.py27 · 6 fan-in
compat.py26 · 9 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Django REST framework (rest_framework) · Score: 95.8/100 (Excellent architecture) · 73 modules · 137 edges · Python · 1 of 54 · Language score median 78.9

Cycles
2
Duplicate authorities
0
God modules
2
Layer violations
0
arc impact __init__.py

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Django REST framework
[![ArcSight architecture proof for Django REST framework](https://arcsight.ai/badge/proof/drf/)](https://arcsight.ai/repositories/drf/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Django REST framework · f9c0ec5

RankFileFan-inBlastShare
1__init__.py

concentrates too many responsibilities, shared utility hub

234258%
2settings.py

concentrates too many responsibilities, shared utility hub

243447%
3utils/__init__.py83041%
4exceptions.py62737%
5compat.py92636%
All ranked files
RankFileFan-inBlastShare
6reverse.py52027%
7response.py61723%
8views.py51318%
9schemas/__init__.py21318%

Circular dependencies

This snapshot records 2 dependency cycles.

Nearby proofs

Snapshot notes

In encode drf, a change that begins in __init__.py keeps traveling until it reaches settings.py, with utils __init__.py as the third file on that walk and the authtoken-models.py group as the group around them, snapshot mark cdfafdcced.

exceptions.py is worth opening beside __init__.py because compat.py still participates when exceptions.py moves, and reverse.py stays in view for encode drf, snapshot mark cdfafdcced.

Review response.py only after settings.py and views.py are both on the table, since the link from schemas __init__.py back to utils __init__.py belongs to encode drf under snapshot mark cdfafdcced.

__init__.py and settings.py are later stops, and a reviewer who has already seen utils __init__.py should still look at exceptions.py before treating the authtoken-models.py group as understood for encode drf, snapshot mark cdfafdcced.

exceptions.py closes the file list after compat.py and __init__.py, which keeps the encode drf note tied to snapshot mark cdfafdcced, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • authtoken-models.py (3 modules)
  • ROOT_CLUSTER (49 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in encode drf: __init__.py?
Start with __init__.py, because the rest of the encode drf walk leaves from that file and settings.py is the next file in the same review. Commit cdfafdcced records it.
What else is on the encode drf walk besides __init__.py and utils __init__.py?
utils __init__.py and exceptions.py stay on the walk with compat.py, which are different files from __init__.py inside the authtoken-models.py group for encode drf. Commit cdfafdcced records it.
How should a reviewer use reverse.py in the encode drf snapshot?
Keep reverse.py, response.py, and views.py open together, then check schemas __init__.py before merging the encode drf change. Commit cdfafdcced records it.
Where does the encode drf review stop after __init__.py?
Stop after __init__.py, settings.py, and utils __init__.py have been compared with exceptions.py, leaving the authtoken-models.py group until those encode drf files are clear. Commit cdfafdcced records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/drf/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo