Skip to main content

A Django app to conduct signup, custom user email account verification and activation, login and logout.

Project description


Register-activate is a simple Django app to conduct sign up, custom user email
account verification and activation, login and logout functions. This app modifies django'
User model to realize the registering and activation process together with database.

Detailed documentation is in the "docs" directory.

Quick start
1. In your, import the module register_activate like this::
import register_activate
2. In your, get the absolut path the register_activate_dir (following BASE_DIR) like this::
3. In your, add "register_activate" to your INSTALLED_APPS setting like this::

4. In your, add the template path of register_activate to TEMPLATES by updating 'DIRS' like this:
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(register_activate_dir,'register_activate/templates/register_activate')],
'APP_DIRS': True,
'context_processors': [

5. In your, add the AUTHENTICATION_BACKENDS setting like this::

6. In your project, include the polls URLconf like this::
from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [

7. Run `python migrate` to create the models.

8. Run `python runserver` to start the server.

9. Visit to create an account.

10. After creating your account, your account is not activated yet.
You will receive an email from a google account
with an activation link. By clicking that link your account will be activated.
You can change the from email to your own email address by go to
register_activate/views to your own account and password::
(You can use register_activate_dir=os.path.dirname(os.path.dirname(os.path.abspath(register_activate.__file__))) to find where this package is)

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 (19.0 kB view hashes)

Uploaded Source

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