Skip to main content

A django path() replacement enabling truly dynamic urls

Project description

django_dynamic_path

A django path() replacement enabling truly dynamic urls.

Rather than mapping a regular expression to a view function, you map a "resolver function" to a view function. The resolver function receives the path as an argument, and decides whether or not it wants to handle the request. If it does want to the handle the request, it should return a tuple of args and kwargs, which will be passed to the view function.

Use Cases

TODO

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_dynamic_path-0.0.5.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

django_dynamic_path-0.0.5-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file django_dynamic_path-0.0.5.tar.gz.

File metadata

  • Download URL: django_dynamic_path-0.0.5.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for django_dynamic_path-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e522686aeea5dd6bce800ff19d67234b645af6a2381778d5b66aa7cdd690d42d
MD5 2606e1cad961ac2d8a120f3ba3d07368
BLAKE2b-256 30d8e717b7c06541ce3b23bc2dd6670329a018ec031d684382ce11ce95ff3db1

See more details on using hashes here.

File details

Details for the file django_dynamic_path-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: django_dynamic_path-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for django_dynamic_path-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1ffa5707b42b141a8ca90fb7e66bbd8a84ab1890bc262d387616aafd3303dade
MD5 2dcac498919fd699badd853ac8acbbeb
BLAKE2b-256 dea5b3441899e7df4561d9a94c17d34ea3a37726d33ca1e2813ea0268ff207bb

See more details on using hashes here.

Supported by

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