URL fetching for AJAX libraries
|Reported by:||Mathijs Dumon||Owned by:||nobody|
|Severity:||Keywords:||ajax url generic fetch|
|Cc:||qingfeng@…||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When developing AJAX add-ons for my Django apps, they often need to post data on a specific url. Most of the time I'm forced to hard code this url into my scripts. However, if it would be possible to have a single url (read: view) that fetches the url for a given view name + variables, or returns an array of the sort: => "/user_%(id)/...", ...? (the %(id) part should than be replaced with the correct parameters), AJAX scripts can become more url-abstract.
If you are interested in including such a feauture in trunk, I'd even be willing to write up some code.
Change History (6)
comment:1 Changed 7 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|