Re: Extending the URL Dispatcher (GSoC 2015 proposal)

2015-03-02 Thread Curtis Maloney
On 3 March 2015 at 03:57, Marten Kenbeek wrote: > Hey all, > > I'm working on a proposal to extend the URL dispatcher. Here, I'd like to > provide a quick overview of the features I propose. > > I'd like to: > - Allow matching based on request attributes such as the subdomain or > protocol, and b

Re: Extending the URL Dispatcher (GSoC 2015 proposal)

2015-03-02 Thread Marc Tamlyn
A collection of thoughts: I think allowing the url dispatcher to inspect the database for the existence of certain objects is potentially somewhat dangerous. However, good support for a view raising a "continue resolving" exception along the lines of https://github.com/jacobian-archive/django-mult

Re: Extending the URL Dispatcher (GSoC 2015 proposal)

2015-03-02 Thread Tim Graham
Hi Marten, I think it would be helpful to motivate this with some pseudocode of specific use cases you are aiming to solve. Have you looked into whether there are any related third-party projects related to your ideas from which you could draw inspiration? Tim On Monday, March 2, 2015 at 11:5

Extending the URL Dispatcher (GSoC 2015 proposal)

2015-03-02 Thread Marten Kenbeek
Hey all, I'm working on a proposal to extend the URL dispatcher. Here, I'd like to provide a quick overview of the features I propose. I'd like to: - Allow matching based on request attributes such as the subdomain or protocol, and business logic such as the existence of a database object. - M