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.2.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

django_dynamic_path-0.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_dynamic_path-0.2.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.10.1 urllib3/1.26.7 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for django_dynamic_path-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ba768dd8be0ea2e857ecee08a09af8d5b775d37d7a5c2b2e8e8a23b4646eebea
MD5 1f2d68cb608ddf6ee40297f849d99c8f
BLAKE2b-256 f73d95ed44491cdcb3b748d7b03187fc5b288e84f8828bfaeb7cf3b2e844a6b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_dynamic_path-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.10.1 urllib3/1.26.7 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for django_dynamic_path-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49345d35899325ef075bc1ed322690bb80fd40db085ff20710107fc1f66c3ec2
MD5 9e78bf6cb3f727daac54f2256525a19a
BLAKE2b-256 c22cd8921defa5b0ea191b7da302359363501e7435e960b827208c44b194bf8e

See more details on using hashes here.

Supported by

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