django-registration
An extensible user-registration application for Django.
What it is and what it does
django-registration is a reusable Django application that handles user account creation and activation workflows. It abstracts away the common patterns of registration—email verification, user model compatibility, and login flow—so you can add registration to a Django site by installing the package, adding it to INSTALLED_APPS, wiring up URLs, and providing templates. The package supports two main registration backends: two-step (user registers, receives an activation email, clicks a link to activate) and one-step (user registers and is immediately logged in), and is designed to be extensible for custom registration logic.
The package depends only on Django itself and confusable-homoglyphs (for detecting visually similar usernames that could be used in phishing attacks). It supports Django 4.2, 5.1, and 5.2, and Python 3.9 through 3.13. While maintenance is aging—no release in 494 days—the repository remains active and has accumulated 944 stars, indicating established use in production Django projects.
Use it for:
- Add email-verified user registration to a Django site without writing activation logic from scratch.
- Support both immediate and two-step registration workflows in the same Django project via different backend URLs.
- Protect against homoglyph-based username spoofing attacks during user registration.
- Extend built-in registration behavior with custom user models or additional validation steps.
- Migrate an existing Django site's registration to a standardized, maintained package.
- Reduce boilerplate for handling user creation, email sending, and session management.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides user registration workflows for Django sites, supporting both two-step email-activation and one-step immediate-login registration with the default or custom user models.
Yes. django-registration is production-stable (Development Status 5), has low install friction, no known vulnerabilities, and a permissive license. The aging maintenance status (494 days since last release) is a minor concern but not a blocker—the repository is active, the package works with current Django versions (4.2, 5.1, 5.2), and it solves a well-defined problem. Install it if you need standard registration workflows; avoid it only if you require very recent feature development or prefer a more actively maintained alternative.
Install
django-registration on PyPI
pip
pip install django-registrationuv
uv add django-registrationpoetry
poetry add django-registrationInstalling django-registration
Before you install
Low install friction with only two runtime dependencies (Django and confusable-homoglyphs). Maintenance status is aging—last commit was 2025-04-07 and the package has not had a release in 494 days—but the repository remains active and not archived.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
pip install django-registration
# In Django settings.py
INSTALLED_APPS = [
'django_registration',
# ...
]
# In urls.py
from django.urls import include, path
urlpatterns = [
path('accounts/', include('django_registration.backends.one_step.urls')),
]
Requires Django 4.2, 5.1, or 5.2 and Python 3.9 or later; templates must be created for registration forms.
Verify before relying
- Whether the 494-day gap since last release indicates planned maintenance cadence or reduced active development.
- Performance characteristics with high-volume registration workloads.
- Compatibility details with less common custom user model configurations.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — Django, confusable-homoglyphs |
| Maintenance | aging — 494 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 433,322/month — #6,701 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django_registration-5.2.1-py3-none-any.whl
Keywords: django, security, auth, authentication
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
django-registration-reduxProvides user registration and signup…
permissive · top 15,000 on PyPI
social-auth-app-djangoIntegrates social authentication and…
permissive · top 5,000 on PyPI
dj-rest-authProvides drop-in REST API endpoints for user…
permissive · top 5,000 on PyPI
djoserProvides Django REST Framework views for user…
permissive · top 15,000 on PyPI
django-allauthProvides integrated local and social…
permissive · top 5,000 on PyPI
django-organizationsAdds multi-user group and account management to…
permissive · top 15,000 on PyPI
django-two-factor-authAdds complete two-factor authentication to…
permissive · top 5,000 on PyPI
django-google-ssoAdds Google OAuth 2.0 authentication to Django…
permissive · top 15,000 on PyPI
django-currentuserStores a reference to the currently logged-in…
permissive · top 15,000 on PyPI
pwned-passwords-djangoIntegrates password breach checking from the…
permissive · top 15,000 on PyPI