{"id":26907,"library":"django-user-accounts","title":"django-user-accounts","description":"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.","status":"active","version":"3.3.2","language":"python","source_language":"en","source_url":"https://github.com/pinax/django-user-accounts","tags":["django","user-accounts","authentication","pinax"],"install":[{"cmd":"pip install django-user-accounts","lang":"bash","label":"default"}],"dependencies":[{"reason":"Required 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.","package":"Django","optional":false},{"reason":"Used for app configuration.","package":"django-appconf","optional":false},{"reason":"Provides default templates if not overridden.","package":"pinax-templates","optional":true}],"imports":[{"note":"Common mistake: app is named 'account' on PYPI, not 'user_accounts'.","wrong":"from user_accounts.models import Account","symbol":"Account","correct":"from account.models import Account"},{"note":"","wrong":"","symbol":"SignupView","correct":"from account.views import SignupView"},{"note":"","wrong":"","symbol":"LoginView","correct":"from account.views import LoginView"},{"note":"password_reset_url is a utility function, not a view.","wrong":"from account.views import password_reset_url","symbol":"password_reset_url","correct":"from account.utils import password_reset_url"}],"quickstart":{"code":"import django\nimport os\nos.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')\ndjango.setup()\n\nINSTALLED_APPS = [\n    'django.contrib.auth',\n    'django.contrib.sites',\n    'account',\n]\n\nSITE_ID = 1\nACCOUNT_EMAIL_UNIQUE = True\n\nfrom django.conf import settings\nfrom account.models import SignupCode\n# Example: create a signup code\ncode = SignupCode.objects.create(email='test@example.com')\nprint(code.code)\n","lang":"python","description":"Basic usage: install, add 'account' to INSTALLED_APPS, run migrations, then use models/views."},"warnings":[{"fix":"pip install --upgrade django-user-accounts==3.3.2","message":"v3.3.0 was released without database migrations; upgrade to v3.3.1 or v3.3.2 immediately.","severity":"gotcha","affected_versions":"3.3.0"},{"fix":"Use Django 3.2+ or stick with django-user-accounts v3.1.x.","message":"Dropped support for Django 2.2 in v3.3.0. If upgrading from v3.1.x or earlier, check your Django version.","severity":"breaking","affected_versions":">=3.3.0"},{"fix":"Replace force_text() with force_str() in your code.","message":"The force_text() utility was removed in v3.0.3. Use force_str() instead.","severity":"deprecated","affected_versions":">=3.0.3"},{"fix":"Upgrade Python interpreter.","message":"Python 2.7, 3.4, 3.5 support dropped in v3.0.2. Ensure you use Python 3.6+.","severity":"gotcha","affected_versions":">=3.0.2"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install django-user-accounts' and add 'account' to INSTALLED_APPS in your Django settings.","cause":"The app is not installed or not added to INSTALLED_APPS.","error":"ModuleNotFoundError: No module named 'account'"},{"fix":"Add 'django.contrib.sites' to INSTALLED_APPS and set SITE_ID in settings.","cause":"django.contrib.sites is missing from INSTALLED_APPS.","error":"django.core.exceptions.ImproperlyConfigured: The account app requires django.contrib.sites to be installed."},{"fix":"Verify 'account' is in INSTALLED_APPS and run 'python manage.py migrate account'.","cause":"The app label 'account' is not found; migrations may not have been run or app not in INSTALLED_APPS.","error":"LookupError: No installed app with label 'account'."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}