Skip to main content

Deepera Authentication System

To use captcha, install the following packages:

sudo apt install libz-dev libjpeg-dev libfreetype6-dev python-dev

To install, add deepauth and captcha to INSTALLED_APPS in your Django settings.

Compulsory configurations:

AUTH_USER_MODEL = 'deepauth.Account'
DEEPAUTH_EMAIL_CONF = {
    'required': True,
    'server': 'smtp.example.com',
    'port': 465,
    'username': 'noreply@example.com',
    'password': 'moc.elpmaxe',
    'subject': 'Activate Your Account',
    'content': 'Dear {0},\nPlease verify your account by clicking the following link:\n{1}\nYours sincerely,\nExample.com',
}

Optional configurations:

DEEPAUTH_INVITATION_ONLY = False
# Invatitation code must be provided if set to true.

DEEPAUTH_AUTO_LOGIN = False
# User will be logged in after certain actions (currently only work for updating email).

TOKEN_LIFETIME = 7
# Token will be expired after certain days.

To enable access, add the following URLs to your URL patterns:

url(r'^auth/', include('deepauth.urls')),
url(r'^captcha/', include('captcha.urls'))

To show docs, add the following code to your URLs:

from rest_framework.documentation import include_docs_urls
urlpatterns = [
    url(r'^docs/', include_docs_urls('API Docs'))
]

Release files for deepauth 2.4.17

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

Source distribution (sdist)

Source distribution for deepauth 2.4.17
File Size Uploaded
deepauth-2.4.17.tar.gz 9.6 kB Details

Release files / deepauth-2.4.17.tar.gz

Download URL deepauth-2.4.17.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
917856c204163c0b33bdc5d0140b2e250239d0a47dd0bd8b21a853ec6a4aa278
BLAKE2b-256 checksum
How to use checksums
71a24aba1a72e2ad58aa9d5761dde57b19e5c094ecf5441641775ad6c6fdef0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

2.4.17 This release

1 release file

1.9.1

1 release file

1.6.28

1 release file

1.6.8

1 release file

1.4.29

1 release file

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