Skip to main content

Add your description here

Project description

django-stagedoor

Easy email or sms based login for Django

Installation

  1. Add stagedoor to INSTALLED_APPS

    INSTALLED_APPS = [
        "django.contrib.admin",
        "django.contrib.auth",
        "django.contrib.contenttypes",
        "django.contrib.sessions",
        "django.contrib.messages",
        "django.contrib.staticfiles",
        "django.contrib.sites",
        "stagedoor",
        ...
    ]
    
  2. Add the authentication backends. Make sure to keep ModelBackend for the admin login

    AUTHENTICATION_BACKENDS = (
        "stagedoor.backends.EmailTokenBackend",
        "stagedoor.backends.SMSTokenBackend",
        "django.contrib.auth.backends.ModelBackend",
    )
    
  3. Add urls

    urlpatterns = [
        path("admin/", admin.site.urls),
        path("auth/", include("stagedoor.urls", namespace="stagedoor")),
       ...
    ]
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_stagedoor-0.1.3.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_stagedoor-0.1.3-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file django_stagedoor-0.1.3.tar.gz.

File metadata

  • Download URL: django_stagedoor-0.1.3.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for django_stagedoor-0.1.3.tar.gz
Algorithm Hash digest
SHA256 611a82452fdee36a183db19f8848d92de6d8faee3b7f015e10ad2eda290a4426
MD5 9d36b9664814d17a6d4ae135a81694c9
BLAKE2b-256 29b4e85b01e561c72d92cdc851b4d814533b203255bbbc0546fff2567782bfaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_stagedoor-0.1.3.tar.gz:

Publisher: release.yml on galaxybrainco/django-stagedoor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_stagedoor-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_stagedoor-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fef2a116ebc8985f071bf5ea77fe838860d2cad5820d4242d872027218ae5e1d
MD5 4dd00b56da20664410166695af90b878
BLAKE2b-256 b1d78c23f9fba77e83dfc59d1782bfe40b0ada242f8dc09e06d8c605295fc5e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_stagedoor-0.1.3-py3-none-any.whl:

Publisher: release.yml on galaxybrainco/django-stagedoor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page