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

Uploaded Source

Built Distribution

django_dynamic_path-0.0.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_dynamic_path-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 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.3.tar.gz
Algorithm Hash digest
SHA256 1b93e313d6438656e9f6c1163fc52caea94b08417b482da21ebf74c4aa2763f5
MD5 4ff66344c762d357eec49fda8b5c4afe
BLAKE2b-256 49b8f8b37d8ecf389dd871b2ae04c7e8b7b7b4a9fe982371c6fc105e7aaa3237

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_dynamic_path-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 407739e42d27ef59f0c6502765daf32a6e278f46898d4227ed422c30c8884d18
MD5 2c55486a4e8df5bcbe8720fbeadd6c9d
BLAKE2b-256 4c2777d8bba2936f7be656fe81f2bf58b9d744054885ee3334dd3e5ce3ac2251

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