django-user-login-register-activate
django-user-login-register-activate is a django app to make user login and registration
Quick start
To install from PyPi:
pip install django-user-login-register-activate
Add “login” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'login', ]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"
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')), ]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)
| File | Size | Uploaded | |
|---|---|---|---|
| django-user-login-register-activate-2.4.tar.gz | 732.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|