[PATCH] templates: Use 'static' rather than 'statictags' library

Daniel Axtens dja at axtens.net
Sat Sep 14 06:08:16 AEST 2019


Applied, thanks.

This gives you the potentially dubious distinction of having a patch
merged from the departure lounge of Heathrow Airport. (Appropriately, I
suppose, it took me 2 goes to get it right.)

Regards,
Daniel

Andrew Donnellan <ajd at linux.ibm.com> writes:

> statictags is being renamed to static, use of {% load statictags %} is
> 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 %}
> +{% load static %}
>  <!DOCTYPE html>
>  <html xmlns="http://www.w3.org/1999/xhtml">
>   <head>
> -- 
> 2.20.1
>
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork


More information about the Patchwork mailing list