Re: ResolverMatch and url pattern

2018-07-10 Thread Melvyn Sopacua
On dinsdag 10 juli 2018 21:09:21 CEST Tim Graham wrote: > There's an open ticket. Perhaps you would like to finish the patch. > > https://code.djangoproject.com/ticket/28766 > https://github.com/django/django/pull/9323 I will have a look. -- Melvyn Sopacua -- You received this message because

Re: ResolverMatch and url pattern

2018-07-10 Thread Tim Graham
There's an open ticket. Perhaps you would like to finish the patch. https://code.djangoproject.com/ticket/28766 https://github.com/django/django/pull/9323 On Tuesday, July 10, 2018 at 2:16:01 PM UTC-4, Melvyn Sopacua wrote: > > Hi, > > > > I'm trying to implement a wrapper for Django's request

ResolverMatch and url pattern

2018-07-10 Thread Melvyn Sopacua
Hi, I'm trying to implement a wrapper for Django's request to work with openapi-core[1]. In this endavour I discovered that obtaining the pattern that matched with the current URL is not stored on ResolverMatch and I don't see any other way to obtain it from a Django HttpRequest. I'm appare