Skip to main content

A Django app that allows users to authenticate using email, phone number or username.

Project description

# Introduction #

A Django app that allows users to authenticate using email, phone number or username.


## Installation ##


1. Install package:

pip install django_mobile_auth

2. Add mobile_auth app to INSTALLED_APPS in your django settings.py:

INSTALLED_APPS = (
'mobile_auth',
...
)

Note: Add it before django.contrib.auth if you want to use the custom createsuperuser command with support to email and phone.

3. On you django settings, set the AUTH_USER_MODEL and AUTHENTICATION_BACKENDS to:

AUTH_USER_MODEL = 'mobile_auth.MobileUser'
AUTHENTICATION_BACKENDS = ['mobile_auth.backends.MobileAuthBackend',]


## Releases ##

- 0.2.7: Replace fields first_name and last_name with just name. The migration were reset back to 001. Please note before update.

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_mobile_auth-0.2.7.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file django_mobile_auth-0.2.7.tar.gz.

File metadata

File hashes

Hashes for django_mobile_auth-0.2.7.tar.gz
Algorithm Hash digest
SHA256 74d104b8b1761b227baa2b7d2566104b0b1776b573180cb6e778c3e755ef7c16
MD5 b5714bea519d2d4c2a0fd55283955b9e
BLAKE2b-256 8f74c230453b9481e1f0faeb3a5dc9ae22ccfadba868d39db9e014e668222e6f

See more details on using hashes here.

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