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

Uploaded Source

Built Distribution

django_dynamic_path-0.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_dynamic_path-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1740d0b7449eaa2e30b97b72c4bf217e5de5a87724b53b9993e74437eb9381d0
MD5 550cedabe34b0bd05c73f6cebe30e70d
BLAKE2b-256 aabaddf0317a105f9d81a3ca7dfd4b36a54f7479059412fa7ce55402ee822df9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_dynamic_path-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for django_dynamic_path-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1dd815ab9b423b4d348006cd3be305a57bdf7f15284ace825a100fbdc9e6a5db
MD5 997b03344781f968e7e60856a7a6b760
BLAKE2b-256 5b04617a3f3741cb87f7465210b5141a23f7b7203dbb3b781e132fac33623e25

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