Registry / web-framework / django-invitations

django-invitations

JSON →
library2.1.0pypypiunverified

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.

pip install django-invitations
INSTALL
IMPORT
SIG · DJANGO-INVITATIONS
D
django-invitations
web-frameworkpythonv2.1.0
Install
3.4s avg
Import
Disk
66MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 66.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.4s · import 0.000s · 67MB
66MB installed
● package 66MB
Code
Verified usage

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

InvitationAdmin
from invitations.admin import InvitationAdmin
from invitations.admin import InvitationAdmin

Basic setup for django-invitations with django-allauth.

pip install django-invitations # settings.py INSTALLED_APPS = [ ... 'invitations', 'allauth', 'allauth.account', ] # urls.py from django.urls import path, include urlpatterns = [ ... path('invitations/', include('invitations.urls', namespace='invitations')), ] # Then run migrations python manage.py migrate invitations
Debug
Known issues
breakingVersion 2.0.0 dropped support for Django <3.2 and Python <3.6. Ensure your environment meets requirements.
fix
Upgrade to Django >=3.2 and Python >=3.6.
affects: >=2.0.0
deprecatedThe 'InvitationAdmin' class now requires 'default_auto_field' to be set. Missing it will cause migration errors.
fix
Add default_auto_field = 'django.db.models.BigAutoField' to your InvitationAdmin subclass or use system check.
affects: >=2.0.0
gotchaIf using django-allauth, you must have 'allauth.account' in INSTALLED_APPS before 'invitations'.
fix
Ensure order: 'allauth.account' before 'invitations'.
affects: all
Upgrade
Version history
2.1.0latest on PyPI · released Nov 22, 2023
Audit
Dependencies
djangorequiredCore dependency
django-allauthoptionalFor social invitation integration
Agent activity
20 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
django-invitations — pip install django-invitations · libregistry