Skip to main content

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

  • This project is maintained by Gobierno de Monterrey.
  • The project's homepage is here and issues can be reported here.

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)

Source distribution for gdmty-django-users 24.5.5
File Size Uploaded
gdmty_django_users-24.5.5.tar.gz 45.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gdmty-django-users 24.5.5
File Interpreter ABI Platform
gdmty_django_users-24.5.5-py3-none-any.whl Python 3 none any Details

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
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