DjaoDjin-Signup
This repository contains a Django App for user authentication (intended
as a replacement for the django.contrib.auth.views pages), and user account
pages.
Major Features:
- HTML forms and API-based authentication
- Cookies, JWT, API Keys
- OTP codes
This project contains bare bone templates which are compatible with Django and Jinja2 template engines. To see djaodjin-signup in action as part of a full-fledged subscription-based session proxy, take a look at djaoapp.
Install
Add the signup urls to your urlpatterns and EmailOrUsernameModelBackend to the settings AUTHENTICATION_BACKENDS.
urls.py:
urlpatterns = ('',
(r'^api/', include('signup.urls.api')),
(r'^', include('signup.urls.views')),
)
settings.py:
AUTHENTICATION_BACKENDS = (
'signup.backends.auth.EmailOrUsernameModelBackend',
'django.contrib.auth.backends.ModelBackend'
)
Development
After cloning the repository, create a virtualenv environment, install the prerequisites, create and load initial data into the database, then run the testsite webapp.
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
$ make vendor-assets-prerequisites
$ make initdb
$ python manage.py runserver
# Browse http://localhost:8000/
Release Notes
Tested with
- Python: 3.12, Django: 5.2 (LTS)
- Python: 3.14, Django: 6.0 (next)
- Python: 3.10, Django: 4.2 (legacy)
- Python: 3.9, Django: 3.2 (legacy)
0.11.4
- removes dependency on jQuery for UI components
- sets
created_atcorrectly when importingActivity
Metadata
Release files for djaodjin-signup 0.11.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 | |
|---|---|---|---|
| djaodjin_signup-0.11.4.tar.gz | 104.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djaodjin_signup-0.11.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 271.9 kB
Release files / djaodjin_signup-0.11.4.tar.gz
| Download URL | djaodjin_signup-0.11.4.tar.gz |
|---|---|
| Size | 104.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80bf153e4e0f67d612dbe318ab25cf21812638bd3d6ac2e8c228d299ba1df8dc
|
|
BLAKE2b-256 checksum How to use checksums |
377ed30eaf3af45e0d42371c8b739c4047557ebc56991c52448abba12f9d89e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.19
|
Release files / djaodjin_signup-0.11.4-py3-none-any.whl
| Download URL | djaodjin_signup-0.11.4-py3-none-any.whl |
|---|---|
| Size | 167.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87cd69511d9b2aaf775c51dd26c5b691d52ab823bd36c0f8dd7f40eaac38259c
|
|
BLAKE2b-256 checksum How to use checksums |
22250e7d24072fc9c8142d6bd74ced69fcf5045cb13bcf4a052eec0a7f137ba3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.19
|