Reusable Django routines: middleware and i18n helpers.
Project description
django-routines
Reusable Django routines: middleware, i18n helpers, and common utilities for production-ready projects.
Installation
pip install django-routines
Middlewares
MIDDLEWARE = [ ..., "django_routines.middleware.language_redirect.LanguageRedirectMiddleware", "django_routines.middleware.admin_redirect.AdminRedirectMiddleware", ]
Utils
from django_routines import turkce_slugify, redirect_to_correct_i18n_slug
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_routines_tr-1.0.0.tar.gz.
File metadata
- Download URL: django_routines_tr-1.0.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed5942bc69652bb25a412e10eb0509c1f3208a4514e936340cafd6b9b95c962f
|
|
| MD5 |
4ea19638108905f68f5f1e492300a4ae
|
|
| BLAKE2b-256 |
382290e849fc41d40eda24c6911d5a9d369da9fd289d0145d2a1de84e30bfa3f
|
File details
Details for the file django_routines_tr-1.0.0-py3-none-any.whl.
File metadata
- Download URL: django_routines_tr-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9928e4f968235da75cd6cb22d3f6ce888880a623fa8b1f6d762fcca9b8c1c082
|
|
| MD5 |
4fc68727921a87a787b6eea25c011385
|
|
| BLAKE2b-256 |
ad8a5a1cc4ddd09df91186569d2153e7a0b550a2617e7cf7e1f65f017afc3179
|