Re: pass entire request object to urlresolver

2016-06-15 Thread Elephant Liu
Yes! That's it. Thank you. 在 2016年6月15日星期三 UTC+8下午10:50:44,Tim Graham写道: > > I believe that's implemented as part of Marten's URL dispatcher work: > https://github.com/django/django/pull/5578. > > On Tuesday, June 14, 2016 at 8:20:59 AM UTC-4, Elephant Liu wrote: >> >> Hi all, I'd like to introdu

Re: pass entire request object to urlresolver

2016-06-15 Thread Tim Graham
I believe that's implemented as part of Marten's URL dispatcher work: https://github.com/django/django/pull/5578. On Tuesday, June 14, 2016 at 8:20:59 AM UTC-4, Elephant Liu wrote: > > Hi all, I'd like to introduce a new feature to django urlresolver. > > Currently, django urlresolver can only ha

pass entire request object to urlresolver

2016-06-14 Thread Elephant Liu
Hi all, I'd like to introduce a new feature to django urlresolver. Currently, django urlresolver can only handle the path_info field of request object. code from django.core.handlers.base.BaseHandler.get_response callback, callback_args, callback_kwargs = resolver.resolve(request. path_info) I