Message276559
Could we include the offending pattern in the deprecation message? I'm attaching a proposed patch. With that patch I can more easily find the offending pattern, whereas before I had no idea:
django/django/urls/resolvers.py:101: DeprecationWarning: Flags not at the start of the expression ^(?i)test/2/?$
compiled_regex = re.compile(regex, re.UNICODE) |
|
Date |
User |
Action |
Args |
2016-09-15 14:41:37 | Tim.Graham | set | recipients:
+ Tim.Graham, pitrou, ezio.melotti, mrabarnett, python-dev, serhiy.storchaka |
2016-09-15 14:41:37 | Tim.Graham | set | messageid: <1473950497.38.0.478182662544.issue22493@psf.upfronthosting.co.za> |
2016-09-15 14:41:37 | Tim.Graham | link | issue22493 messages |
2016-09-15 14:41:37 | Tim.Graham | create | |
|