Skip to main content

HMAC-based invitation backend for django-registration

Project description

HMAC-based invitation backend for django-registration

Installation:

  • Include registration_invite in your INSTALLED_APPS setting.

  • Include the activation URLS in your URL conf url(r'^', include('registration_invite.urls.activation')),

  • If using the user-based invitation workflow, you may instead include url(r'^', include('registration_invite.urls.activation')),

  • Override the invitation templates. Basic examples are provided, but will most likely be insufficient.

    • registration/invite/email/body.txt

    • registration/invite/email/subject.txt

    • registration/invite/activation_complete.html

    • registration/invite/activation_form.html

    • registration/invite/invitation_complete.html

    • registration/invite/invitation_form.html

Features:

  • automatically registers the user model with the admin

  • workflows for both admin-based and user-based invitations

TODO:

  • re-invite for expired users

  • tests

Release Process

  • Update package version in setup.py

  • Create git tag for version

  • Upload release to PyPI

    $ pip install -U setuptools wheel
    $ rm -rf dist/ build/
    $ python setup.py sdist bdist_wheel upload

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-registration-invite-0.0.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

django_registration_invite-0.0.1-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-registration-invite-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-registration-invite-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c73bffd7037ad2c86a22ae7511e8d2d182fe50c483f3e6086f20c66933334240
MD5 af4a18174d9c59126cf15de8ca368015
BLAKE2b-256 f0439827fe514fa2cc8e0fc0b8121597aeb45b3740bff5da883e48df7107f64c

See more details on using hashes here.

File details

Details for the file django_registration_invite-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_registration_invite-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b7d8747c6fadf10e1038f273b3bba1b18c320b0b4538c13354c9a7d5077b9ad9
MD5 0b3ecca5170b9589f6c859b02c206cb8
BLAKE2b-256 a74bc97a0523449bcbb4dd5a43955df4c4e42af17f3b47635cb9b7b9f6dd9699

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page