Skip to main content

A Django app to signup, activation, login and logout.

Project description

django-user-login-register-activate is a django app to make user login and registration

Quick start

  1. To install from PyPi:

    pip install django-user-login-register-activate
  2. Add “login” to your INSTALLED_APPS setting like this:

  3. Add Email setting like this:

    EMAIL_HOST = ""
    EMAIL_PORT = 25
    EMAIL_HOST_PASSWORD = "your_email_host_password"
  4. Include the login URLconf in your project like this:

    from django.contrib import admin
    from django.urls import path, include
    urlpatterns = [
            path('accounts/', include('login.urls')),
  5. Your can use this project like this:

    from django.contrib.auth.decorators import login_required
    def index(request):
            return HttpResponse("Hello World.")

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-user-login-register-activate-2.4.tar.gz (732.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page