Skip to content

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

Replace 'load static' with 'load staticfiles'

weronka82204af418dc
diff --git a/templates/cart/index.html b/templates/cart/index.html
index 371a59acd9..f02ffbc99f 100644
--- a/templates/cart/index.html
+++ b/templates/cart/index.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load gross from prices_i18n %}
{% load i18n %}
-{% load static from staticfiles %}
+{% load staticfiles %}
{% load render_bundle from webpack_loader %}
{% load get_thumbnail from product_images %}
diff --git a/templates/category/index.html b/templates/category/index.html
index f0e6400294..fdae31ee6e 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load slice from shop %}
-{% load static from staticfiles %}
+{% load staticfiles %}
{% load bootstrap_pagination from bootstrap3 %}
{% load render_bundle from webpack_loader %}
diff --git a/templates/dashboard/category/detail.html b/templates/dashboard/category/detail.html
index f5cbe13e15..ceae13c2b3 100644
--- a/templates/dashboard/category/detail.html
+++ b/templates/dashboard/category/detail.html
@@ -2,7 +2,7 @@
{% load materializecss %}
{% load i18n %}
{% load mptt_tags %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{% if category.pk %}
diff --git a/templates/dashboard/customer/detail.html b/templates/dashboard/customer/detail.html
index 6dac0fe96f..d6176784f0 100644
--- a/templates/dashboard/customer/detail.html
+++ b/templates/dashboard/customer/detail.html
@@ -2,7 +2,7 @@
{% load prices_i18n %}
{% load i18n %}
{% load status %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{{ customer }} - {% trans "Customers" context "Dashboard customers list" %} - {{ block.super }}
diff --git a/templates/dashboard/discount/sale_form.html b/templates/dashboard/discount/sale_form.html
index 2853ba5644..60c1fb491f 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 static %}
+{% load staticfiles %}
{% block title %}
{% if sale.pk %}
diff --git a/templates/dashboard/discount/voucher_form.html b/templates/dashboard/discount/voucher_form.html
index 3c6801d35a..9fb24ff685 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 static %}
+{% load staticfiles %}
{% block title %}
{% if voucher.pk %}
diff --git a/templates/dashboard/includes/_address.html b/templates/dashboard/includes/_address.html
index 1311debcd5..75ec48c4cb 100644
--- a/templates/dashboard/includes/_address.html
+++ b/templates/dashboard/includes/_address.html
@@ -1,5 +1,5 @@
{% load format_address from i18n_address_tags %}
-{% load static %}
+{% load staticfiles %}
<div class="address">
<div class="formatted-address">{% format_address address latin=True %}</div>
diff --git a/templates/dashboard/includes/_pagination.html b/templates/dashboard/includes/_pagination.html
index 18ffb4a2d3..968d114838 100644
--- a/templates/dashboard/includes/_pagination.html
+++ b/templates/dashboard/includes/_pagination.html
@@ -1,6 +1,6 @@
{% load i18n %}
{% load utils %}
-{% load static %}
+{% load staticfiles %}
{% if page_obj.paginator.num_pages > 1 %}
<ul class="pagination">
diff --git a/templates/dashboard/order/address_form.html b/templates/dashboard/order/address_form.html
index 27091bb98e..6526aa716f 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 static %}
+{% load staticfiles %}
{% 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 b4959bdffd..f7fcfe1593 100644
--- a/templates/dashboard/order/detail.html
+++ b/templates/dashboard/order/detail.html
@@ -4,7 +4,7 @@
{% load i18n %}
{% load materializecss %}
{% load status %}
-{% load static %}
+{% load staticfiles %}
{% load discount_amount_for from prices %}
{% block title %}
diff --git a/templates/dashboard/product/attributes/form.html b/templates/dashboard/product/attributes/form.html
index 639bb5640f..598756dbb6 100644
--- a/templates/dashboard/product/attributes/form.html
+++ b/templates/dashboard/product/attributes/form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{% if attribute.pk %}
diff --git a/templates/dashboard/product/attributes/list.html b/templates/dashboard/product/attributes/list.html
index f576fc4025..08ee81656e 100644
--- a/templates/dashboard/product/attributes/list.html
+++ b/templates/dashboard/product/attributes/list.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{% trans "Attributes" context "Dashboard attributes list" %} - {{ block.super }}
diff --git a/templates/dashboard/product/product_class_form.html b/templates/dashboard/product/product_class_form.html
index 753704684b..8b1e714175 100644
--- a/templates/dashboard/product/product_class_form.html
+++ b/templates/dashboard/product/product_class_form.html
@@ -2,7 +2,7 @@
{% load prices_i18n %}
{% load i18n %}
{% load materializecss %}
-{% load static %}
+{% load staticfiles %}
{% load attributes %}
{% block title %}
diff --git a/templates/dashboard/product/product_form.html b/templates/dashboard/product/product_form.html
index 3f2dbeec96..73003148d4 100644
--- a/templates/dashboard/product/product_form.html
+++ b/templates/dashboard/product/product_form.html
@@ -2,7 +2,7 @@
{% load prices_i18n %}
{% load i18n %}
{% load materializecss %}
-{% load static %}
+{% load staticfiles %}
{% load attributes %}
{% block title %}
diff --git a/templates/dashboard/product/product_image_form.html b/templates/dashboard/product/product_image_form.html
index 61f43a405b..6a9c17faf4 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 static %}
+{% load staticfiles %}
{% block title %}
{% if product_image.pk %}
diff --git a/templates/dashboard/product/stock_form.html b/templates/dashboard/product/stock_form.html
index f26caa0132..890daefdb4 100644
--- a/templates/dashboard/product/stock_form.html
+++ b/templates/dashboard/product/stock_form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{% if stock.pk %}
diff --git a/templates/dashboard/product/stock_locations/form.html b/templates/dashboard/product/stock_locations/form.html
index 4fbfd4b806..9e02db9420 100644
--- a/templates/dashboard/product/stock_locations/form.html
+++ b/templates/dashboard/product/stock_locations/form.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% load materializecss %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{% if location.pk %}
diff --git a/templates/dashboard/product/variant_form.html b/templates/dashboard/product/variant_form.html
index 65a06d5a6d..39891b467e 100644
--- a/templates/dashboard/product/variant_form.html
+++ b/templates/dashboard/product/variant_form.html
@@ -1,7 +1,7 @@
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load materializecss %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{% if variant.pk %}
diff --git a/templates/dashboard/shipping/method_form.html b/templates/dashboard/shipping/method_form.html
index 382985d265..20c69800a8 100644
--- a/templates/dashboard/shipping/method_form.html
+++ b/templates/dashboard/shipping/method_form.html
@@ -2,7 +2,7 @@
{% load materializecss %}
{% load i18n %}
{% load mptt_tags %}
-{% load static %}
+{% load staticfiles %}
{% block title %}
{% trans "Shipping methods" context "Dashboard shipping methods" %}
diff --git a/templates/product/details.html b/templates/product/details.html
index 850bba2499..26d1f6bb4b 100644
--- a/templates/product/details.html
+++ b/templates/product/details.html
@@ -5,7 +5,7 @@
{% load gross from prices_i18n %}
{% load markdown from markdown %}
{% load price_range from price_ranges %}
-{% load static from staticfiles %}
+{% load staticfiles %}
{% load get_thumbnail from product_images %}
{% block title %}{{ product }} — {{ block.super }}{% endblock %}
diff --git a/templates/search/results.html b/templates/search/results.html
index 639218ace7..81f7cab469 100644
--- a/templates/search/results.html
+++ b/templates/search/results.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% load slice from shop %}
-{% load static from staticfiles %}
+{% load staticfiles %}
{% load bootstrap_pagination from bootstrap3 %}
{% block title %}{% trans "Search results" context "Search page title" %} {{ block.super }}{% endblock %}
diff --git a/templates/userprofile/details.html b/templates/userprofile/details.html
index b2c567d6ab..c5cf70f32d 100644
--- a/templates/userprofile/details.html
+++ b/templates/userprofile/details.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load static from staticfiles %}
+{% load staticfiles %}
{% load gross from prices_i18n %}
{% load discount_amount_for from prices %}
{% load status %}