I added a patch to https://github.com/django/django/pull/399 -- Let me know
what you think, if I don't get any negative feedback I'll commit it before
the feature freeze.
Cheers,
Florian
On Tuesday, September 25, 2012 4:00:48 PM UTC+2, Florian Apolloner wrote:
>
> Hi Benoit,
>
> as a matter of
Hi Benoit,
as a matter of fact I want to add that to 1.5, and I started playing with a
small testapp to see what's needed:
https://github.com/apollo13/django-locale-switcher -- My conclusion is also
that stuffing the resolver_match on the request would be the best option.
We have another five
Hi BenoƮt,
Thanks for the suggestion. It's tracked in
https://code.djangoproject.com/ticket/15695. This ticket hasn't seen much
activity, but I've heard this feature request several times.
I don't see much harm in adding the ResolverMatch as an attribute of the
request. ResolverMatch is already
Hi,
Here is a feature request : as a developer, I'd like to know the current
URL name, app name or namespace (or any information gathered during URL
resolution) within views, templates... i.e. attached to a request object.
Some use cases:
* display some content only if inside an application