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 check it before updating.
Metadata
Release files for django_mobile_auth 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_mobile_auth-0.2.8.tar.gz | 8.2 kB | Without provenance | Details for django_mobile_auth-0.2.8.tar.gz |
Release files / django_mobile_auth-0.2.8.tar.gz
| Download URL | django_mobile_auth-0.2.8.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8de8295e49c5e1419d312c82fa27bba2c77c0cc018cd0ff838e325c876f27dd0
|
|
BLAKE2b-256 checksum How to use checksums |
e0cfa9e3578e3be1a19261b8c54c56c15ad09a9360408ceef7165dd0209adb72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django_mobile_auth 0.2.8
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.