Hi Daniele,
On 03/21/2013 02:07 AM, Daniele Procida wrote:
> I think it would at minimum require hooks so that the URL dispatcher
> could call other functions, not just views.
>
> So:
>
> * the URL dispatcher could be invoked with a special argument when
> you want it not to call views but perfo
On Wed, Mar 20, 2013, Carl Meyer wrote:
>> Often - not always but often - a Django URL will map to a model
>> instance via a URLconf and a view
>I think this is an interesting idea for some specific use cases, but I
>don't think its implementation belongs in the core url-resolver code,
>for a co
Hi Daniele,
On 03/20/2013 05:46 AM, Daniele Procida wrote:
> I have an idea for the URL dispatcher, and I'd like to know what your
> thoughts are.
>
> Often - not always but often - a Django URL will map to a model
> instance via a URLconf and a view.
>
> I can think o
I have an idea for the URL dispatcher, and I'd like to know what your thoughts
are.
Often - not always but often - a Django URL will map to a model instance via a
URLconf and a view.
I can think of a few uses for a feature that used Django's URLconfs to return
the model instance, i