{"id":23575,"library":"django-invitations","title":"django-invitations","description":"Generic invitations app for Django with support for django-allauth. Current version 2.1.0, supports Python >=3.8 and Django 3.2+. Released occasionally, maintained by Jazzband.","status":"active","version":"2.1.0","language":"python","source_language":"en","source_url":"https://github.com/jazzband/django-invitations/","tags":["django","invitations","allauth","registration"],"install":[{"cmd":"pip install django-invitations","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"Core dependency","package":"django","optional":false},{"reason":"For social invitation integration","package":"django-allauth","optional":true}],"imports":[{"note":"Correct as is; no common mistake.","wrong":"from invitations.admin import InvitationAdmin","symbol":"InvitationAdmin","correct":"from invitations.admin import InvitationAdmin"}],"quickstart":{"code":"pip install django-invitations\n\n# settings.py\nINSTALLED_APPS = [\n    ...\n    'invitations',\n    'allauth',\n    'allauth.account',\n]\n\n# urls.py\nfrom django.urls import path, include\nurlpatterns = [\n    ...\n    path('invitations/', include('invitations.urls', namespace='invitations')),\n]\n\n# Then run migrations\npython manage.py migrate invitations","lang":"python","description":"Basic setup for django-invitations with django-allauth."},"warnings":[{"fix":"Upgrade to Django >=3.2 and Python >=3.6.","message":"Version 2.0.0 dropped support for Django <3.2 and Python <3.6. Ensure your environment meets requirements.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Add default_auto_field = 'django.db.models.BigAutoField' to your InvitationAdmin subclass or use system check.","message":"The 'InvitationAdmin' class now requires 'default_auto_field' to be set. Missing it will cause migration errors.","severity":"deprecated","affected_versions":">=2.0.0"},{"fix":"Ensure order: 'allauth.account' before 'invitations'.","message":"If using django-allauth, you must have 'allauth.account' in INSTALLED_APPS before 'invitations'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Remove duplicate 'invitations' entry from INSTALLED_APPS.","cause":"Multiple apps with the same label 'invitations' in INSTALLED_APPS (e.g., duplicate entries).","error":"django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: invitations"},{"fix":"Run 'pip install django-invitations' and add 'invitations' to INSTALLED_APPS.","cause":"The app is not installed or not in INSTALLED_APPS.","error":"ModuleNotFoundError: No module named 'invitations'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}