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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_dynamic_path-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2c5f58fe6156bfe4dafc12a1b9f7edfd24bdd69d4c39fb3f415de6bd84d75ebf
MD5 819f9aaa856ed3ac70472d5eacde4b46
BLAKE2b-256 242ceb43467fd026e27021a80e468483c0b707f38faee5d3d162cc143e6ade65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_dynamic_path-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f91f81d084686cdfaaef67ae6a8c6f96a0843b935d135744009b719dd7a8b24
MD5 c643300281536741be5f9c40f833b86e
BLAKE2b-256 8bc29911f4478cd3ad9dc477ce3aa7022b8a091e410221d50e39006493344974

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