Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Replace load staticfiles in favour of load static

jxltomffb1c57f5b13
diff --git a/templates/account/account_delete_prompt.html b/templates/account/account_delete_prompt.html
index 9e9705574a..5c8f65fe00 100644
--- a/templates/account/account_delete_prompt.html
+++ b/templates/account/account_delete_prompt.html
@@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% load bootstrap_form from bootstrap4 %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
{% load placeholder %}
diff --git a/templates/account/details.html b/templates/account/details.html
index a0f5f98a99..dca52b9cbf 100644
--- a/templates/account/details.html
+++ b/templates/account/details.html
@@ -4,7 +4,7 @@
{% load i18n %}
{% load i18n_address_tags %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% block title %}{% trans "Your profile" context "User profile page title" %} — {{ block.super }}{% endblock %}
diff --git a/templates/account/login.html b/templates/account/login.html
index 47e35477b2..b762aa6b3c 100644
--- a/templates/account/login.html
+++ b/templates/account/login.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
{% block title %}{% trans "Log in" context "Login page title" %} — {{ block.super }}{% endblock %}
diff --git a/templates/account/partials/login_form.html b/templates/account/partials/login_form.html
index 6d85c831d6..309ff826f9 100644
--- a/templates/account/partials/login_form.html
+++ b/templates/account/partials/login_form.html
@@ -1,6 +1,6 @@
{% load bootstrap_form from bootstrap4 %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
<form method="post" action="{% url 'account:login' %}" novalidate>
{% csrf_token %}
diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html
index 6de0860b7e..baa13b70b8 100644
--- a/templates/account/password_reset.html
+++ b/templates/account/password_reset.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load bootstrap_form from bootstrap4 %}
{% block title %}{% trans "Password reset" context "Password reset page title" %} — {{ block.super }}{% endblock %}
diff --git a/templates/account/password_reset_done.html b/templates/account/password_reset_done.html
index e9bb6bd703..cffcc292de 100644
--- a/templates/account/password_reset_done.html
+++ b/templates/account/password_reset_done.html
@@ -1,7 +1,7 @@
{% extends "account/password_reset_base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}{% trans "Password Reset" context "Password reset done page title" %}{% endblock %}
diff --git a/templates/account/password_reset_from_key.html b/templates/account/password_reset_from_key.html
index 73d84d4aee..0a3d46fe4c 100644
--- a/templates/account/password_reset_from_key.html
+++ b/templates/account/password_reset_from_key.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load bootstrap_form from bootstrap4 %}
-{% load staticfiles %}
+{% load static %}
{% block head_title %}{% trans "Change Password" context "Password reset from key page title" %}{% endblock %}
{% block form %}
diff --git a/templates/account/signup.html b/templates/account/signup.html
index 96b0b0f64d..79e7896637 100644
--- a/templates/account/signup.html
+++ b/templates/account/signup.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load bootstrap_form from bootstrap4 %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
{% block title %}{% trans "Sign Up" context "Signup page title" %} — {{ block.super }}{% endblock %}
diff --git a/templates/base.html b/templates/base.html
index 883f4f74b4..48a0142731 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -3,7 +3,7 @@
{% load menu from shop %}
{% load placeholder %}
{% load render_bundle from webpack_loader %}
-{% load staticfiles %}
+{% load static %}
{% load translate_url from urls %}
<html lang="{{ LANGUAGE_CODE }}" class="no-js" data-shipping-options-url="{% url 'cart:shipping-options' %}" data-cart-summary-url="{% url 'cart:summary' %}">
diff --git a/templates/cart_dropdown.html b/templates/cart_dropdown.html
index ee0d78c6b1..300bdb9d03 100644
--- a/templates/cart_dropdown.html
+++ b/templates/cart_dropdown.html
@@ -2,7 +2,7 @@
{% load get_thumbnail from product_images %}
{% load placeholder %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
<div class="container">
{% if quantity > 0 %}
diff --git a/templates/category/index.html b/templates/category/index.html
index 1ce5249e7c..5a3b79da19 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -1,6 +1,6 @@
{% extends "product/product_list_base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block breadcrumb_part %}
<li>
diff --git a/templates/checkout/details.html b/templates/checkout/details.html
index 43339a84b1..e01ca00d18 100644
--- a/templates/checkout/details.html
+++ b/templates/checkout/details.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
{% block title %}{% trans "Checkout" context "Checkout page title" %} — {{ block.super }}{% endblock %}
diff --git a/templates/checkout/index.html b/templates/checkout/index.html
index dadf1629d4..c417fe62e9 100644
--- a/templates/checkout/index.html
+++ b/templates/checkout/index.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load get_thumbnail from product_images %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
{% block title %}{% trans "Your cart" context "Cart page title" %} — {{ block.super }}{% endblock %}
diff --git a/templates/checkout/login.html b/templates/checkout/login.html
index d148e8f6b6..9b15a0c394 100644
--- a/templates/checkout/login.html
+++ b/templates/checkout/login.html
@@ -1,5 +1,5 @@
{% extends "checkout/details.html" %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
{% load placeholder %}
diff --git a/templates/collection/index.html b/templates/collection/index.html
index 1d80676fbb..2bf55a9190 100644
--- a/templates/collection/index.html
+++ b/templates/collection/index.html
@@ -1,6 +1,6 @@
{% extends "product/product_list_base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block breadcrumb_part %}
<li>
diff --git a/templates/dashboard/base.html b/templates/dashboard/base.html
index b869f81987..a64d9519d2 100644
--- a/templates/dashboard/base.html
+++ b/templates/dashboard/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-{% load staticfiles i18n %}
+{% load static i18n %}
{% load render_bundle from webpack_loader %}
{% load version %}
{% load serialize_messages from utils %}
diff --git a/templates/dashboard/category/detail.html b/templates/dashboard/category/detail.html
index 40370a218e..3f03e0a0b3 100644
--- a/templates/dashboard/category/detail.html
+++ b/templates/dashboard/category/detail.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load mptt_tags %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}{% trans "Categories" context "Category list page title" %} -
diff --git a/templates/dashboard/category/form.html b/templates/dashboard/category/form.html
index 0c16845439..6f60d58172 100644
--- a/templates/dashboard/category/form.html
+++ b/templates/dashboard/category/form.html
@@ -2,7 +2,7 @@
{% load materializecss %}
{% load i18n %}
{% load mptt_tags %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if category.pk %}
diff --git a/templates/dashboard/category/list.html b/templates/dashboard/category/list.html
index 64527b4b7b..ac326b4e62 100644
--- a/templates/dashboard/category/list.html
+++ b/templates/dashboard/category/list.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load mptt_tags %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/collection/detail.html b/templates/dashboard/collection/detail.html
index 752ba12eba..ca7443b0b9 100644
--- a/templates/dashboard/collection/detail.html
+++ b/templates/dashboard/collection/detail.html
@@ -1,7 +1,7 @@
{% extends 'dashboard/base.html' %}
{% load materializecss %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% block title %}
diff --git a/templates/dashboard/collection/list.html b/templates/dashboard/collection/list.html
index ab44ce890d..69dfd6f74e 100644
--- a/templates/dashboard/collection/list.html
+++ b/templates/dashboard/collection/list.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% load utils %}
diff --git a/templates/dashboard/customer/detail.html b/templates/dashboard/customer/detail.html
index 40d65aa680..968a667d45 100644
--- a/templates/dashboard/customer/detail.html
+++ b/templates/dashboard/customer/detail.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load materializecss %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% block title %}
diff --git a/templates/dashboard/customer/form.html b/templates/dashboard/customer/form.html
index 79e3964c32..d5bcc547e5 100644
--- a/templates/dashboard/customer/form.html
+++ b/templates/dashboard/customer/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load materializecss %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if customer.pk %}
diff --git a/templates/dashboard/customer/list.html b/templates/dashboard/customer/list.html
index 9bcdb59c0c..6078b7977d 100644
--- a/templates/dashboard/customer/list.html
+++ b/templates/dashboard/customer/list.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/discount/sale/form.html b/templates/dashboard/discount/sale/form.html
index 8f399ff234..5934aa102b 100644
--- a/templates/dashboard/discount/sale/form.html
+++ b/templates/dashboard/discount/sale/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if sale.pk %}
diff --git a/templates/dashboard/discount/sale/list.html b/templates/dashboard/discount/sale/list.html
index c47399df63..865bcaadfd 100644
--- a/templates/dashboard/discount/sale/list.html
+++ b/templates/dashboard/discount/sale/list.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load materializecss %}
{% load static %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/discount/voucher/form.html b/templates/dashboard/discount/voucher/form.html
index 6ed2c6be15..2cf3ac9d6c 100644
--- a/templates/dashboard/discount/voucher/form.html
+++ b/templates/dashboard/discount/voucher/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if voucher.pk %}
diff --git a/templates/dashboard/includes/_address.html b/templates/dashboard/includes/_address.html
index b67036bb6b..aaedb3fff7 100644
--- a/templates/dashboard/includes/_address.html
+++ b/templates/dashboard/includes/_address.html
@@ -1,5 +1,5 @@
{% load i18n_address_tags %}
-{% load staticfiles %}
+{% load static %}
<div class="address">
{% format_address address include_phone=False latin=True %}
diff --git a/templates/dashboard/includes/_menu_items.html b/templates/dashboard/includes/_menu_items.html
index b0e13f5145..f3ede5d646 100644
--- a/templates/dashboard/includes/_menu_items.html
+++ b/templates/dashboard/includes/_menu_items.html
@@ -1,6 +1,6 @@
{% load i18n %}
{% load utils %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
<div class="card">
diff --git a/templates/dashboard/includes/_pagination.html b/templates/dashboard/includes/_pagination.html
index 519cb8ab3b..337ffd6aaf 100644
--- a/templates/dashboard/includes/_pagination.html
+++ b/templates/dashboard/includes/_pagination.html
@@ -1,6 +1,6 @@
{% load i18n %}
{% load utils %}
-{% load staticfiles %}
+{% load static %}
{% if page_obj.paginator.num_pages > 1 %}
diff --git a/templates/dashboard/menu/detail.html b/templates/dashboard/menu/detail.html
index 355588ded9..aa47d8c362 100644
--- a/templates/dashboard/menu/detail.html
+++ b/templates/dashboard/menu/detail.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}{% trans "Navigation" context "Menu list page title" %} -
diff --git a/templates/dashboard/menu/form.html b/templates/dashboard/menu/form.html
index 4bb7e81824..42391d340d 100644
--- a/templates/dashboard/menu/form.html
+++ b/templates/dashboard/menu/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load materializecss %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if menu.pk %}
diff --git a/templates/dashboard/menu/item/detail.html b/templates/dashboard/menu/item/detail.html
index 4e93a7a16c..9d56191c38 100644
--- a/templates/dashboard/menu/item/detail.html
+++ b/templates/dashboard/menu/item/detail.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}{% trans "Menu items" context "Menu item list page title" %} -
diff --git a/templates/dashboard/menu/item/form.html b/templates/dashboard/menu/item/form.html
index 4d3e600a2a..045b763f71 100644
--- a/templates/dashboard/menu/item/form.html
+++ b/templates/dashboard/menu/item/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load materializecss %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if menu_item.pk %}
diff --git a/templates/dashboard/menu/list.html b/templates/dashboard/menu/list.html
index d54068e3ab..c311d77934 100644
--- a/templates/dashboard/menu/list.html
+++ b/templates/dashboard/menu/list.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load mptt_tags %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/next.html b/templates/dashboard/next.html
index 6d7a964f83..a33daeca71 100644
--- a/templates/dashboard/next.html
+++ b/templates/dashboard/next.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-{% load staticfiles i18n %}
+{% load static i18n %}
{% load render_bundle from webpack_loader %}
{% load version %}
{% load serialize_messages from utils %}
diff --git a/templates/dashboard/order/address_form.html b/templates/dashboard/order/address_form.html
index 73636f6b47..51bf353074 100644
--- a/templates/dashboard/order/address_form.html
+++ b/templates/dashboard/order/address_form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% trans "Edit address" context "" %} - {% trans "Orders" context "Dashboard orders list" %} - {{ block.super }}
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.html
index 5c3625499d..59aa2d9f52 100644
--- a/templates/dashboard/order/detail.html
+++ b/templates/dashboard/order/detail.html
@@ -4,7 +4,7 @@
{% load i18n_address_tags %}
{% load materializecss %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% load voucher %}
diff --git a/templates/dashboard/order/fulfillment.html b/templates/dashboard/order/fulfillment.html
index 6b302a3914..f429c7d2fd 100644
--- a/templates/dashboard/order/fulfillment.html
+++ b/templates/dashboard/order/fulfillment.html
@@ -4,7 +4,7 @@
{% load i18n %}
{% load i18n_address_tags %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% block title %}
diff --git a/templates/dashboard/order/list.html b/templates/dashboard/order/list.html
index 2e3ea2e83b..3d5d6a7b3c 100644
--- a/templates/dashboard/order/list.html
+++ b/templates/dashboard/order/list.html
@@ -4,7 +4,7 @@
{% load prices_i18n %}
{% load status %}
{% load utils %}
-{% load staticfiles %}
+{% load static %}
{% block title %}{% trans "Orders" context "Dashboard orders list" %} - {{ block.super }}{% endblock %}
diff --git a/templates/dashboard/page/detail.html b/templates/dashboard/page/detail.html
index c6a90d1feb..0f6341ae08 100644
--- a/templates/dashboard/page/detail.html
+++ b/templates/dashboard/page/detail.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% load utils %}
diff --git a/templates/dashboard/page/form.html b/templates/dashboard/page/form.html
index 288418642c..79c526d2e5 100644
--- a/templates/dashboard/page/form.html
+++ b/templates/dashboard/page/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if page.pk %}
diff --git a/templates/dashboard/page/list.html b/templates/dashboard/page/list.html
index c2dcce0906..71a417eaa2 100644
--- a/templates/dashboard/page/list.html
+++ b/templates/dashboard/page/list.html
@@ -1,6 +1,6 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% load utils %}
diff --git a/templates/dashboard/product/attribute/detail.html b/templates/dashboard/product/attribute/detail.html
index 135ab80457..13464ce8bf 100644
--- a/templates/dashboard/product/attribute/detail.html
+++ b/templates/dashboard/product/attribute/detail.html
@@ -1,7 +1,7 @@
{% extends 'dashboard/base.html' %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{{ attribute }} - {{ block.super }}
diff --git a/templates/dashboard/product/attribute/form.html b/templates/dashboard/product/attribute/form.html
index f61f6e9df0..305d46552e 100644
--- a/templates/dashboard/product/attribute/form.html
+++ b/templates/dashboard/product/attribute/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if attribute.pk %}
diff --git a/templates/dashboard/product/attribute/list.html b/templates/dashboard/product/attribute/list.html
index 89f8069479..5e4bb3ea94 100644
--- a/templates/dashboard/product/attribute/list.html
+++ b/templates/dashboard/product/attribute/list.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/product/attribute/values/form.html b/templates/dashboard/product/attribute/values/form.html
index 7016478fe1..d08baf4bb8 100644
--- a/templates/dashboard/product/attribute/values/form.html
+++ b/templates/dashboard/product/attribute/values/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if attribute.pk %}
diff --git a/templates/dashboard/product/detail.html b/templates/dashboard/product/detail.html
index 0e60d2a93d..24546ac79b 100644
--- a/templates/dashboard/product/detail.html
+++ b/templates/dashboard/product/detail.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% load utils %}
diff --git a/templates/dashboard/product/form.html b/templates/dashboard/product/form.html
index d07cdc95e7..80b056859a 100644
--- a/templates/dashboard/product/form.html
+++ b/templates/dashboard/product/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if product.pk %}
diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.html
index 2942d01909..399f9a839f 100644
--- a/templates/dashboard/product/list.html
+++ b/templates/dashboard/product/list.html
@@ -3,7 +3,7 @@
{% load materializecss %}
{% load price from taxed_prices %}
{% load get_thumbnail from product_images %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/product/product_image/form.html b/templates/dashboard/product/product_image/form.html
index b54ee1c993..eae8c1ccf6 100644
--- a/templates/dashboard/product/product_image/form.html
+++ b/templates/dashboard/product/product_image/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if product_image.pk %}
diff --git a/templates/dashboard/product/product_image/list.html b/templates/dashboard/product/product_image/list.html
index d812674a3e..59057282ee 100644
--- a/templates/dashboard/product/product_image/list.html
+++ b/templates/dashboard/product/product_image/list.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% trans "Images" %} - {{ block.super }}
diff --git a/templates/dashboard/product/product_type/form.html b/templates/dashboard/product/product_type/form.html
index 790988e9e1..3d361f50fa 100644
--- a/templates/dashboard/product/product_type/form.html
+++ b/templates/dashboard/product/product_type/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if product_type.pk %}
diff --git a/templates/dashboard/product/product_type/list.html b/templates/dashboard/product/product_type/list.html
index 78974ffd13..6bb82403bf 100644
--- a/templates/dashboard/product/product_type/list.html
+++ b/templates/dashboard/product/product_type/list.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/product/product_type/modal/confirm_delete.html b/templates/dashboard/product/product_type/modal/confirm_delete.html
index 542afd3dc2..c15f399096 100644
--- a/templates/dashboard/product/product_type/modal/confirm_delete.html
+++ b/templates/dashboard/product/product_type/modal/confirm_delete.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base_modal.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block form_class %}{% endblock %}
diff --git a/templates/dashboard/product/product_variant/detail.html b/templates/dashboard/product/product_variant/detail.html
index 89f19ad0a0..7efc9767d0 100644
--- a/templates/dashboard/product/product_variant/detail.html
+++ b/templates/dashboard/product/product_variant/detail.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load price from taxed_prices %}
-{% load staticfiles %}
+{% load static %}
{% load status %}
{% block title %}
diff --git a/templates/dashboard/product/product_variant/form.html b/templates/dashboard/product/product_variant/form.html
index b2b98f2e70..5161a5b50c 100644
--- a/templates/dashboard/product/product_variant/form.html
+++ b/templates/dashboard/product/product_variant/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if variant.pk %}
diff --git a/templates/dashboard/product/product_variant/modal/confirm_delete.html b/templates/dashboard/product/product_variant/modal/confirm_delete.html
index 6a570b972a..1dd599d56c 100644
--- a/templates/dashboard/product/product_variant/modal/confirm_delete.html
+++ b/templates/dashboard/product/product_variant/modal/confirm_delete.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base_modal.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block form_class %}{% endblock %}
diff --git a/templates/dashboard/search/results.html b/templates/dashboard/search/results.html
index b6036f5ddc..4964b3d740 100644
--- a/templates/dashboard/search/results.html
+++ b/templates/dashboard/search/results.html
@@ -3,7 +3,7 @@
{% load materializecss %}
{% load price from taxed_prices %}
{% load get_thumbnail from product_images %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% trans "Search results" context "Search page title" %} - {{ block.super }}
diff --git a/templates/dashboard/shipping/form.html b/templates/dashboard/shipping/form.html
index 79de8b3052..5eb694ba5e 100644
--- a/templates/dashboard/shipping/form.html
+++ b/templates/dashboard/shipping/form.html
@@ -2,7 +2,7 @@
{% load materializecss %}
{% load i18n %}
{% load mptt_tags %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if shipping_zone.pk %}
diff --git a/templates/dashboard/shipping/methods/form.html b/templates/dashboard/shipping/methods/form.html
index 8f58a2fdbd..cda00d829f 100644
--- a/templates/dashboard/shipping/methods/form.html
+++ b/templates/dashboard/shipping/methods/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if method.pk %}
diff --git a/templates/dashboard/shipping/modal/confirm_delete.html b/templates/dashboard/shipping/modal/confirm_delete.html
index b3626f1c72..11c46c4673 100644
--- a/templates/dashboard/shipping/modal/confirm_delete.html
+++ b/templates/dashboard/shipping/modal/confirm_delete.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base_modal.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block form_class %}{% endblock %}
diff --git a/templates/dashboard/sites/authorization_keys/form.html b/templates/dashboard/sites/authorization_keys/form.html
index 2f3f4bbb57..cad3ea4fbf 100644
--- a/templates/dashboard/sites/authorization_keys/form.html
+++ b/templates/dashboard/sites/authorization_keys/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if site.pk %}
diff --git a/templates/dashboard/sites/detail.html b/templates/dashboard/sites/detail.html
index e5c430acd7..b5eefa775f 100644
--- a/templates/dashboard/sites/detail.html
+++ b/templates/dashboard/sites/detail.html
@@ -1,7 +1,7 @@
{% extends 'dashboard/base.html' %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{{ site_settings }} - {{ block.super }}
diff --git a/templates/dashboard/staff/detail.html b/templates/dashboard/staff/detail.html
index f616f4463b..49ca9d204b 100644
--- a/templates/dashboard/staff/detail.html
+++ b/templates/dashboard/staff/detail.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load materializecss %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% if staff_member %}
diff --git a/templates/dashboard/staff/list.html b/templates/dashboard/staff/list.html
index 48e2adf032..4c0da3f9ac 100644
--- a/templates/dashboard/staff/list.html
+++ b/templates/dashboard/staff/list.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load staticfiles %}
+{% load static %}
{% load utils %}
{% block title %}
diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.html
index 5f1a788076..2c90fbc705 100644
--- a/templates/dashboard/styleguide/index.html
+++ b/templates/dashboard/styleguide/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-{% load staticfiles i18n %}
+{% load static i18n %}
{% load render_bundle from webpack_loader %}
<html lang="{{ LANGUAGE_CODE }}" class="no-js">
diff --git a/templates/dashboard/taxes/details.html b/templates/dashboard/taxes/details.html
index b60ddecf8e..a9c0758205 100644
--- a/templates/dashboard/taxes/details.html
+++ b/templates/dashboard/taxes/details.html
@@ -2,7 +2,7 @@
{% load get_country_by_code from dashboard %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% get_country_by_code tax.country_code as country_name %}
diff --git a/templates/dashboard/taxes/form.html b/templates/dashboard/taxes/form.html
index 694f9e4317..a103400ad7 100644
--- a/templates/dashboard/taxes/form.html
+++ b/templates/dashboard/taxes/form.html
@@ -1,5 +1,5 @@
{% extends 'dashboard/base.html' %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
{% load materializecss %}
diff --git a/templates/order/checkout_success.html b/templates/order/checkout_success.html
index 4d5c7373a1..8aafbcdbe0 100644
--- a/templates/order/checkout_success.html
+++ b/templates/order/checkout_success.html
@@ -1,7 +1,7 @@
{% extends 'checkout/details.html' %}
{% load bootstrap_form from bootstrap4 %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
{% load placeholder %}
diff --git a/templates/order/checkout_success_anonymous.html b/templates/order/checkout_success_anonymous.html
index 5cf8bd5a06..fc0efe8168 100644
--- a/templates/order/checkout_success_anonymous.html
+++ b/templates/order/checkout_success_anonymous.html
@@ -1,7 +1,7 @@
{% extends 'checkout/details.html' %}
{% load bootstrap_form from bootstrap4 %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
{% load placeholder %}
diff --git a/templates/order/details.html b/templates/order/details.html
index 7e631c0161..c855c77b47 100644
--- a/templates/order/details.html
+++ b/templates/order/details.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load bootstrap_form from bootstrap4 %}
{% block title %}
diff --git a/templates/order/payment.html b/templates/order/payment.html
index 05af3eb77d..d1c55bc5a3 100644
--- a/templates/order/payment.html
+++ b/templates/order/payment.html
@@ -2,7 +2,7 @@
{% load bootstrap_form from bootstrap4 %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}
{% blocktrans trimmed context "Payment details page title" %}
diff --git a/templates/product/_filters.html b/templates/product/_filters.html
index 1256e7821c..90c874ab25 100644
--- a/templates/product/_filters.html
+++ b/templates/product/_filters.html
@@ -1,5 +1,5 @@
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
<div class="product-filters">
<div class="product-filters__title">
diff --git a/templates/product/_items.html b/templates/product/_items.html
index 317a8346fd..c4b08ba7ae 100644
--- a/templates/product/_items.html
+++ b/templates/product/_items.html
@@ -1,5 +1,5 @@
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load taxed_prices %}
{% load get_thumbnail from product_images %}
{% load placeholder %}
diff --git a/templates/product/details.html b/templates/product/details.html
index b23199c4a0..4e0d6c3ac2 100644
--- a/templates/product/details.html
+++ b/templates/product/details.html
@@ -7,7 +7,7 @@
{% load i18n %}
{% load markdown from markdown %}
{% load placeholder %}
-{% load staticfiles %}
+{% load static %}
{% load taxed_prices %}
{% block title %}
diff --git a/templates/product/product_list_base.html b/templates/product/product_list_base.html
index ca9ac7324a..63936af5cf 100644
--- a/templates/product/product_list_base.html
+++ b/templates/product/product_list_base.html
@@ -4,7 +4,7 @@
{% load get_object_properties from attributes %}
{% load i18n %}
{% load shop %}
-{% load staticfiles %}
+{% load static %}
{% block footer_scripts %}
{{ block.super }}
diff --git a/templates/search/results.html b/templates/search/results.html
index f4a27f2618..75fc537c53 100644
--- a/templates/search/results.html
+++ b/templates/search/results.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load bootstrap_pagination from bootstrap4 %}
{% block title %}{% trans "Search results" context "Search page title" %} {{ block.super }}{% endblock %}
diff --git a/templates/styleguide.html b/templates/styleguide.html
index 5f98cc77d5..777af0d2dd 100644
--- a/templates/styleguide.html
+++ b/templates/styleguide.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load bootstrap_form from bootstrap4 %}
{% block title %}Style guide — {{ block.super }}{% endblock %}
diff --git a/templates/templated_email/source/shared/header.mjml b/templates/templated_email/source/shared/header.mjml
index 916a579ec4..993d39265f 100644
--- a/templates/templated_email/source/shared/header.mjml
+++ b/templates/templated_email/source/shared/header.mjml
@@ -1,5 +1,5 @@
<mj-raw>
- {% load staticfiles %}
+ {% load static %}
</mj-raw>
<mj-section>
<mj-column>