Skip to main content

Installation

$ [sudo] pip install django-passwordless-user

Pros

  • 3rd party/social authentication without password

Examples

settings.py

AUTH_USER_MODEL = 'users.User'

users/modes.py

from django.db import models
from django_passwordless_user.models import AbstractBaseUser

class Token(models.Model):
    token = models.TextField()

class User(AbstractBaseUser):
    login = models.TextField(unique=True)

    USERNAME_FIELD = 'login'

    class Meta:
        db_table = 'users_user'

    def get_salted_hmac_value(self):
        token = Token.objects.get(pk=self.pk)
        return token

readme42.com

Metadata

Release files for django-passwordless-user 2020.7.2

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-passwordless-user 2020.7.2
File Size Uploaded
django-passwordless-user-2020.7.2.tar.gz 2.0 kB Details

Release files / django-passwordless-user-2020.7.2.tar.gz

Download URL django-passwordless-user-2020.7.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a390afb919657a156d834742a41a0eda5d90d4a0fdadab8f11e93aaca52fa45a
BLAKE2b-256 checksum
How to use checksums
72726bf1c497381c98479fcf80714295172b7ed95936a0ed163ec6c955efe466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7

Release history Release notifications | RSS feed

This release

2020.7.2 This release

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