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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_dynamic_path-0.0.4.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.23.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.4.tar.gz
Algorithm Hash digest
SHA256 6fa75b1428ba9af9485fcbaae2e7e9881bcf11f4e6cc1d2cf6f2eb7e8cbc3e34
MD5 7e51605dadf36f6973ae7105167799f1
BLAKE2b-256 bdd692d30c7d60acd74cb1ff1c8c0a269b103b9cc84e833c89a77edb55b2a7e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_dynamic_path-0.0.4-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.23.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d1e9831200c37c1e5cddc0420e8a1baa0b07f358fdcad5c345ff4b6b3ab57aa2
MD5 cd5ca2e870771342ced584e521acd67b
BLAKE2b-256 ee540eaff10e096f8a00697eaab67d0a6285fa9735bc0f22540b2392a769155c

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