[PATCH 2/5] urls: Update url pattern functions

Stephen Finucane stephen at that.guru
Sat Sep 26 20:48:13 AEST 2020


On Fri, 2020-08-28 at 00:14 +1000, Andrew Donnellan wrote:
> Django 3.1 deprecates django.conf.urls.url() as an alias for
> django.urls.re_path(). Also switch to using django.urls.include() rather
> than django.conf.urls.include().
> 
> Signed-off-by: Andrew Donnellan <ajd at linux.ibm.com>

Reviewed-by: Stephen Finucane <stephen at that.guru>

PS: I messed with the formatting of this a little to avoid the hanging
indents before applying it.



More information about the Patchwork mailing list