Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_routines_tr-1.0.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_routines_tr-1.0.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

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

Hashes for django_routines_tr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ed5942bc69652bb25a412e10eb0509c1f3208a4514e936340cafd6b9b95c962f
MD5 4ea19638108905f68f5f1e492300a4ae
BLAKE2b-256 382290e849fc41d40eda24c6911d5a9d369da9fd289d0145d2a1de84e30bfa3f

See more details on using hashes here.

File details

Details for the file django_routines_tr-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_routines_tr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9928e4f968235da75cd6cb22d3f6ce888880a623fa8b1f6d762fcca9b8c1c082
MD5 4fc68727921a87a787b6eea25c011385
BLAKE2b-256 ad8a5a1cc4ddd09df91186569d2153e7a0b550a2617e7cf7e1f65f017afc3179

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page