Simple, clean and modern reusable app for Django user registration.
Python HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Simple, clean and modern reusable app for Django user registration


This app differs from the popular django-registration package in the following ways:

  • actively maintained and supports the latest version of Django (currently 1.10);
  • uses cryptographic signing instead of storing Registration Profiles in the database;
  • uses email addresses instead of usernames by dafult and allows whitelisting of email domains for which users can register;
  • comes with useful basic templates using Bootstrap
  • is cleaner, simpler and easier to work with.


  • Python 2.7
  • Django 1.10
  • shortuuid
  • django-bootstrap3 (if you're going to use the included templates)


pip install -r -e

Then include 'reguser' in your INSTALLED_APPS.

Usage and customization

The simplest way to use the app is to hook it up to an endpoint in your, like this:

url(r'^accounts/', include('reguser.urls')),

Then run your server and hit /accounts/register/

To use a custom template for the registration form, use:

url(r'^accounts/register/$', 'reguser.views.registration', name='custom-registration',
    kwargs={'template': 'my_custom_registration_form.html'}),

Note that the custom template must live under 'reguser' in your templates directory.

If you want to limit user registration for email addresses from specific domains, provide a whitelist parameter to the registration view, like this:

url(r'^reguser/register/$', 'reguser.views.registration',
    kwargs={'whitelist': ['',]}),

To allow sub-domains, include a dot at the beginning of the domain pattern, e.g.: ''