Skip to main content

django-user-login-register-activate

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:

    INSTALLED_APPS = [
        ...
        'login',
    ]
  3. Add Email setting like this:

    EMAIL_HOST = "smtp.163.com"
    EMAIL_PORT = 25
    EMAIL_HOST_USER = "your_email_name@163.com"
    EMAIL_HOST_PASSWORD = "your_email_host_password"
  4. Include the login URLconf in your project urls.py 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
    
    @login_required
    def index(request):
            return HttpResponse("Hello World.")

Release files for django-user-login-register-activate 2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-user-login-register-activate 2.4
File Size Uploaded
django-user-login-register-activate-2.4.tar.gz 732.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-user-login-register-activate 2.4
File Interpreter ABI Platform
django_user_login_register_activate-2.4-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / django-user-login-register-activate-2.4.tar.gz

Download URL django-user-login-register-activate-2.4.tar.gz
Size 732.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5cdfbe0875641c525dd3dd84e45ec99f30004e9c10e157859337f89da8ef192e
BLAKE2b-256 checksum
How to use checksums
179beb02bd59062c3331ae44dff5f903536a376c4abf082f431993236b5a4c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0

Release files / django_user_login_register_activate-2.4-py3-none-any.whl

Download URL django_user_login_register_activate-2.4-py3-none-any.whl
Size 750.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c245d82f7afce769cefb7b197663d662c1088aee163237c2752710f011fd905
BLAKE2b-256 checksum
How to use checksums
7f7103ed92e0ce8bf64c7b694c2f3f3f7ffdb84bf364d7cc298fa3bcc63d35d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0

Release history Release notifications | RSS feed

This release

2.4 This release

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page