django-trench provides a set of REST API endpoints to supplement django-rest-framework with multi-factor authentication (MFA, 2FA). It supports both standard built-in authentication methods, as well as JWT (JSON Web Token).
Python · active 2023-08-25 → 2026-03-06 (UTC)
Activity over time
Daily event counts in the loaded window
Line chart, 925 days from 2023-08-25 to 2026-03-06. Pushes: 0 total, peak 0 in a day. Pull requests: 15 total, peak 3 in a day. Issues: 7 total, peak 1 in a day. Comments: 17 total, peak 3 in a day. Stars: 35 total, peak 2 in a day.
- Pushes
- Pull requests
- Issues
- Comments
- Stars
Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.
Top contributors
Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity
| Contributor | Contributions | Pushes | PRs | Comments |
|---|---|---|---|---|
| karlokr-p | 7 | 0 | 5 | 0 |
| gabriel-tan | 7 | 0 | 7 | 0 |
| jamievleeshouwer | 4 | 0 | 0 | 3 |
| tiln7 | 2 | 0 | 0 | 2 |
| huynguyengl99 | 2 | 0 | 0 | 1 |
| tartieret | 2 | 0 | 2 | 0 |
| banananeer | 2 | 0 | 0 | 2 |
| leon-chen-cambio | 2 | 0 | 0 | 1 |
| DvaMishkiLapa | 2 | 0 | 0 | 1 |
| benzkji | 1 | 0 | 0 | 1 |
| izimobil | 1 | 0 | 0 | 1 |
| AleksaVu | 1 | 0 | 0 | 1 |
| nefrob | 1 | 0 | 0 | 1 |
| shanx | 1 | 0 | 0 | 1 |
| SheezyJay | 1 | 0 | 0 | 0 |
| wieczorek1990 | 1 | 0 | 1 | 0 |
| florianvazelle | 1 | 0 | 0 | 1 |
| motage4711 | 1 | 0 | 0 | 1 |
Recent activity
Latest issues, pull requests and releases
- Pull request#235gabriel-tan2025-08-21 00:45
- Pull request#235gabriel-tan2025-08-21 00:45
- Pull request#234gabriel-tan2025-08-13 18:18
- Pull request#234gabriel-tan2025-08-13 18:18
- Issue comment#228huynguyengl992025-07-09 13:50Continued maintenance of the project
- Issue#233huynguyengl992025-07-09 13:46DRF Auth Kit: Complete Authentication Toolkit with Enhanced MFA (Alternative to django-trench)
- Pull request#232karlokr-p2025-06-17 22:06
- Pull request#231gabriel-tan2025-01-20 21:54
- Pull request#231gabriel-tan2025-01-20 21:54
- Pull request#230gabriel-tan2025-01-20 21:39
- Pull request#229tartieret2024-11-07 22:09
- Pull request#229tartieret2024-11-07 22:01
- Issue comment#223banananeer2024-06-14 15:57Continued-request django trench
- Issue comment#228banananeer2024-06-14 15:57Continued maintenance of the project
- Issue comment#206izimobil2024-06-14 10:31:sparkles: Adds HOTP MFA code support
- Issue#228karlokr-p2024-06-04 00:00Continued maintenance of the project
- Pull request#227karlokr-p2024-05-30 16:46
- Pull request#227karlokr-p2024-05-30 16:46
- Pull request#225karlokr-p2024-05-29 21:04
- Pull request#225karlokr-p2024-05-29 21:01
- Issue#224karlokr-p2024-05-21 19:19Django 4.2 compatibility
- Issue#223SheezyJay2024-03-26 16:16Continued-request django trench
- Issue comment#219jamievleeshouwer2024-03-23 18:41Add lockout/throttling functionality to protect against brute force attacks
- Issue#219jamievleeshouwer2024-03-23 18:41Add lockout/throttling functionality to protect against brute force attacks
- Issue comment#135jamievleeshouwer2024-03-23 17:57Potentially incorrect use of DRF's APISettings that makes it impossible to add a custom 2FA backend
Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 35 stars here means stars gained during the window, not the repo's star count.