Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

So simple you'll burst into tears right away.

Project description

The eleventy-eleventh email registration app for Django.

But this one does not feed your cat.


This example assumes you are using a recent version of Django, jQuery and Twitter Bootstrap.

  1. Install django-email-registration using pip.

  2. Copy this code somewhere on your login or registration page:

    <h2>{% trans "Send an activation link" %}</h2>
    <form method="post" action="{% url "email_registration_form" %}"
        class="well" id="registration">
      {% csrf_token %}
      <div class="controls">
        <input id="id_email" type="text" name="email" maxlength="30"
          placeholder="{% trans "Email address" %}">
      <button type="submit" class="btn btn-primary">
        {% trans "Register" %}</button>
    function init_registration($) {
      $('#registration').on('submit', function() {
        var $form = $(this);
        $.post(this.action, $form.serialize(), function(data) {
        return false;

    (Alternatively, include the template snippet registration/email_registration_include.html somewhere.)

  3. Add email_registration to INSTALLED_APPS and include email_registration.urls somewhere in your URLconf.

  4. Presto.

Download files

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

Files for django-email-registration, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-email-registration-0.1.0.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page