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
Built Distribution
File details
Details for the file django_dynamic_path-0.1.0.tar.gz
.
File metadata
- Download URL: django_dynamic_path-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f30fb8b0c8fafe6a7a4c82eb22873b750d9fcca79d5bf92b1fbe1e13c2faed |
|
MD5 | 1d62978a84f98d67e0ec6be4d44aa768 |
|
BLAKE2b-256 | e4d191ff1095111325901085d2f130facad0c0741c0075d0bcdb99e56b01a95a |
File details
Details for the file django_dynamic_path-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_dynamic_path-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb2a3b7e907c86d12aa99f52f34b4a416fd3150b3b5f8b23ef2dfab1844f12c |
|
MD5 | e1e4e651992957b3e68024ebdba804ab |
|
BLAKE2b-256 | 2f6524da7ac52913c7404532b119f63ae67e76cf432f3de59700daf1416b407b |