Skip to main content

django-auth-hack

This is a Django application for hacking the builtin django.contrib.auth application. This app aims to add support to a longer username field on User model.

Installation and configuration

To install this app you need first to add it to your environment using pip:

$ [sudo] pip install django-auth-hack

Then you need to add the auth_hacks on top of your INSTALLED_APPS, before any other application:

INSTALLED_APPS = (
    'auth_hacks',
    # other apps
)

You can customize the new username max length by defining the USERNAME_MAX_LENGTH in your settings file:

USERNAME_MAX_LENGTH = 255

Database

Make sure you alter the column username in the table auth_user. You can use South or run an ALTER TABLE SQL manually. Using MySQL, you could run:

ALTER TABLE auth_user MODIFY COLUMN auth_user VARCHAR(255) NOT NULL;

Metadata

Release files for django-auth-hack 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-auth-hack 0.1.1
File Size Uploaded Provenance Actions
django-auth-hack-0.1.1.tar.gz 2.2 kB Without provenance Details for django-auth-hack-0.1.1.tar.gz

Release files / django-auth-hack-0.1.1.tar.gz

Download URL django-auth-hack-0.1.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bba97d47cceef1a5883e8eb898e1a821c5da644239c889bce5aa2304090d6134
BLAKE2b-256 checksum
How to use checksums
dd6f49fc500d54d3ea0ab9d1812fda61ceccda64246216473873155a2a4b0816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-auth-hack 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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