Registry / web-framework / django-user-accounts

django-user-accounts

JSON →
library3.3.2pypypiunverified

A reusable Django application for managing user accounts, including signup, login, password reset, email verification, and account management. Current version is 3.3.2. Release cadence is irregular; maintained by the Pinax project.

pip install django-user-accounts
INSTALL
IMPORT
SIG · DJANGO-USER-ACCOUN
D
django-user-accounts
web-frameworkpythonv3.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Account
from account.models import Account
from account.models import Account

Basic usage: install, add 'account' to INSTALLED_APPS, run migrations, then use models/views.

import django import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings') django.setup() INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.sites', 'account', ] SITE_ID = 1 ACCOUNT_EMAIL_UNIQUE = True from django.conf import settings from account.models import SignupCode # Example: create a signup code code = SignupCode.objects.create(email='test@example.com') print(code.code)
Debug
Known issues
gotchav3.3.0 was released without database migrations; upgrade to v3.3.1 or v3.3.2 immediately.
fix
pip install --upgrade django-user-accounts==3.3.2
affects: 3.3.0
breakingDropped support for Django 2.2 in v3.3.0. If upgrading from v3.1.x or earlier, check your Django version.
fix
Use Django 3.2+ or stick with django-user-accounts v3.1.x.
affects: >=3.3.0
deprecatedThe force_text() utility was removed in v3.0.3. Use force_str() instead.
fix
Replace force_text() with force_str() in your code.
affects: >=3.0.3
gotchaPython 2.7, 3.4, 3.5 support dropped in v3.0.2. Ensure you use Python 3.6+.
fix
Upgrade Python interpreter.
affects: >=3.0.2
Upgrade
Version history
3.3.2latest on PyPI · released Oct 6, 2023
Audit
Dependencies
DjangorequiredRequired framework; compatible with Django 2.2+ (2.2 dropped in v3.3.0, but v3.3.2 probably supports 3.2+). Check official docs for exact support.
django-appconfrequiredUsed for app configuration.
pinax-templatesoptionalProvides default templates if not overridden.
Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
django-user-accounts — pip install django-user-accounts · libregistry