[PATCH] templates: Use 'static' rather than 'statictags' library
Geert Stappers
geert.stappers at hendrikx-itc.nl
Mon Sep 16 21:50:36 AEST 2019
On 13-09-2019 13:19, Andrew Donnellan wrote:
> statictags is being renamed to static, use of {% load statictags %} is
"tags"
> deprecated and will break in Django 3.
>
> Signed-off-by: Andrew Donnellan <ajd at linux.ibm.com>
> ---
> templates/base.html | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/templates/base.html b/templates/base.html
> index 501208f01e59..802ea98b0745 100644
> --- a/templates/base.html
> +++ b/templates/base.html
> @@ -1,4 +1,4 @@
> -{% load staticfiles %}
"files"
> +{% load static %}
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
IMHO should commit message and actual change match.
Currently I don't see "statictags" matching "staticfiles".
Please make them matching.
Regards
Geert Stappers
More information about the Patchwork
mailing list