Skip to main content

Django app for registration, with an approval step.

Project description

Dappr is a Django app for filtered user registration, requiring each user that requests an account to be approved by the site administrator before gaining an enabled user profile.

The workflow to register a user looks like this:
  1. User registers at site, providing all details except password. Recieves a notification to check their email in order to set password.

  2. User opens email, clicks link (confirming identity), then enters password at site. Receives email telling them that their registration request is complete, and the admin will see to it as soon as possible.

  3. Notification is sent to admin of a new user request. Admin goes to django admin site, and on the RegistrationProfile page, performs the “Approve” action on whichever requests they want to approve.

  4. The user now has a working account with all of the information they entered at the beginning! Email notification is sent to user informing them of the admin’s decision, and welcoming them to the site.

This ordering of the steps to registration is very important. Notice that the identity confirmation email is sent immediately after the user registers, rather than after the admin approves them. This kills two birds with one stone; the risk of phishing attacks is greatly diminished, because the user is expecting the password set email the moment they receive it, and the admin is safe in the knowledge that the email address of the user they are approving is the actual address of that user.

I am in the process of posting the docs for this package, but in the meantime, here are some simple steps for setup:
  1. Add “dappr” to INSTALLED_APPS

  2. Migrate database

  3. Add include(dappr.urls) to your urlpatterns

  4. Visit <path_to_dappr_urls>/register/ to test it out!

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

dappr-0.4.6.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file dappr-0.4.6.tar.gz.

File metadata

  • Download URL: dappr-0.4.6.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dappr-0.4.6.tar.gz
Algorithm Hash digest
SHA256 be77cac3c243edf2fd34b9f87daccbfd3526267a6a93a8e0cf87109b162f443a
MD5 094e3cc7e69228213598dd4afbbb87a1
BLAKE2b-256 63412c8a4d289bde2b1279eeefdb257aa8c7bb28ed74b669511afc5a260ea278

See more details on using hashes here.

Supported by

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