gdmty-django-users
The app gdmty-django-users package is a Django extension that builds upon the abstract AbstractBaseUser class for use e-mail as user. And has the option to authenticate with reCaptcha token verification.
The project is maintained by Gobierno de Monterrey. You can find more about the project on its homepage or report issues on the bug tracker.
Features
- Email-based User Identification: Utilizes email addresses as identifier for users.
- Custom User Model: Extends Django's AbstractBaseUser to provide custom user functionality.
- Modular Design: Designed as a reusable Django app for easy integration into projects.
- Compatibility with Python 3.9 and later, and Django 4.1.13 and later.
Installation
$ pip install gdmty-django-users
Configuration
Add the application to your project's INSTALLED_APPS in settings.py also add the DRF_ROUTER variable.
from rest_framework import routers
INSTALLED_APPS = [
# ...
'gdmty_django_users',
...
]
DRF_ROUTER = routers.DefaultRouter() # Necessary for the gdmty_django_users package
An example to use in your 'models.py file:
from gdmty_django_users.models import User
from django.db import models
class MyModel(models.Model):
user = User.ForeignKey(User, on_delete=User.CASCADE)
Contributing
- Please raise an issue/feature and name your branch 'feature-n' or 'issue-n', where 'n' is the issue number.
- If you test this code with a Python or package version not listed above and all is well, please fork and update the README to include the Python version you used :)
Additional Notes
Metadata
Release files for gdmty-django-users 24.5.5
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 |
|---|---|---|---|---|
| gdmty_django_users-24.5.5.tar.gz | 45.4 kB | Without provenance | Details for gdmty_django_users-24.5.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gdmty_django_users-24.5.5-py3-none-any.whl | Python 3 | none | any | Details for gdmty_django_users-24.5.5-py3-none-any.whl |
Total release size: 88.3 kB
Release files / gdmty_django_users-24.5.5.tar.gz
| Download URL | gdmty_django_users-24.5.5.tar.gz |
|---|---|
| Size | 45.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3e68287d267940f3666e69f44bd45cb95f6ece5a5f116755c274ac7473a0931
|
|
BLAKE2b-256 checksum How to use checksums |
dd9f80a4f72c7cdcd9b5ad1f8ac4d19f4290da4876d9ba68ae9717e95e84f073
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Release files / gdmty_django_users-24.5.5-py3-none-any.whl
| Download URL | gdmty_django_users-24.5.5-py3-none-any.whl |
|---|---|
| Size | 42.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c38d9da837974b3cf805fb83d441ff7ef2dc40a44f49486d6c10b0e4cc125835
|
|
BLAKE2b-256 checksum How to use checksums |
f07495a1cbdf8c701e7bef96be65db5deff097ab1d90d5fdf83880fb96c7f6c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Security for gdmty-django-users 24.5.5
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.