Skip to main content

Built on top of django-registration, django-inviting handles registration through invitations.

Features

  • Invitations can be optional or required to be registered.

  • Admin integration

  • Adding available invitations with custom performance and rewarding algorithms. (for invite only mode)

Installation

This application depends on django-registration.

  1. Add "django-inviting" directory to your Python path.

  2. Add "invitation" to your INSTALLED_APPS tuple found in your settings file.

  3. Include "invitation.urls" to your URLconf.

Testing & Example

TODO

Usage

You can configure django-inviting app’s behaviour with the following settings:

INVITATION_INVITE_ONLY:

Set this to True if you want registration to be only possible via invitations. Default value is False.

INVITATION_EXPIRE_DAYS:

How many days before an invitation is expired. Default value is 15.

INVITATION_INITIAL_INVITATIONS:

How many invitations are available to new users. If INVITATION_INVITE_ONLY is False this setting has no effect. Default value is 10.

INVITATION_PERFORMANCE_FUNC:

A method that takes an InvitationStats instance and returns a float between 0.0 and 1.0. You can supply a custom performance method by reference or by import path as a string. Default value is None. If a custom performance function is not supplied one of the default performance functions in invitation.models will be used according to INVITATION_INVITE_ONLY value.

INVITATION_REWARD_THRESHOLD:

A float that determines which users are rewarded. Default value is 0.75.

See Also

Release files for django-inviting 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-inviting 0.6.1
File Size Uploaded
django-inviting-0.6.1.tar.gz 15.0 kB Details

Release files / django-inviting-0.6.1.tar.gz

Download URL django-inviting-0.6.1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f8a5fa7c04883e3de49cf00ef2b4c118eb6b99b47617506272d46d7ba38ef883
BLAKE2b-256 checksum
How to use checksums
0c179f115cd892d773952413f1f01f062b6f6ac49706f552dc2edec08b66d466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.1 This release

1 release file

0.5

1 release file

0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page