Skip to main content

# Django Rapyd ModernAuth

This package provides a custom User model where the username is the email address.

## Inspiration

Users today expect to use their email address as the username during authentication. This works well because:

  • Users already know their email addresses by heart.

  • Since email addresses are unique, users don’t need to remember yet another item when either signing up or logging into web applications. IMHO this is a significant factor that plays a vital role in user adoption.

  • This is a time tested model and many web applications today follow this.

However, Django’s default approach for authentication requires a user provide both a username and an email address during sign up and then just use the username during login.

## Usage

Note: Django recommends you do this right at the beginning of the project. Making this change mid-project becomes significantly harder.

  • Install the package with: ` pip install django-rapyd-modernauth `

  • Edit Django settings: - Add modernauth to INSTALLED_APPS. - Set AUTH_USER_MODEL = modernauth.User.

  • Create models with: ` ./manage.py migrate `

Metadata

Release files for django-rapyd-modernauth 0.0.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-rapyd-modernauth 0.0.4
File Size Uploaded Provenance Actions
django-rapyd-modernauth-0.0.4.tar.gz 8.2 kB Without provenance Details for django-rapyd-modernauth-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-rapyd-modernauth 0.0.4
File Interpreter ABI Platform Actions
django_rapyd_modernauth-0.0.4-py3-none-any.whl Python 3 none any Details for django_rapyd_modernauth-0.0.4-py3-none-any.whl

Total release size: 18.1 kB

Release files / django-rapyd-modernauth-0.0.4.tar.gz

Download URL django-rapyd-modernauth-0.0.4.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
903663237d8b70ab262c8dfcaee20d28e51f8ba9564c8a97179a884078b42de4
BLAKE2b-256 checksum
How to use checksums
8c4faaa58c23dcc58960c6999784070a8b6897d1ec6228b380ee8e7451e61bcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Release files / django_rapyd_modernauth-0.0.4-py3-none-any.whl

Download URL django_rapyd_modernauth-0.0.4-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4def7b061b85b5d01ea27a64cda7e85fc9dc45fc02405c3aac43e49db8ecfd39
BLAKE2b-256 checksum
How to use checksums
78f35b6d064993f76e3eadc64dc77564c587809de76de601500211e480c234ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Security for django-rapyd-modernauth 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

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