Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

More modernisation steps to make the application work with django 3

Rolandef0726b61f70
diff --git a/requirements.txt b/requirements.txt
index 7ce87a8d0..ce9d08949 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,11 +8,11 @@ django-bower==5.2.0
django-formtools>=2.0,<3.0
django-recaptcha==2.0.6
Django>=3.0,<3.1
-django_compressor==2.2
+django_compressor>=2.4,<2.5
django_extensions>=2.1
django-sorted-m2m>=2.0
django-storages>=1.7
-easy-thumbnails==2.6
+easy-thumbnails>=2.7,<2.8
icalendar==4.0.3
invoke==0.17
pillow==4.1.0
@@ -32,8 +32,8 @@ python-memcached
# REST API
django-cors-headers>=3.0
django-filter==2.1.0
-django-tastypie==0.14.2
-djangorestframework==3.9.4
+django-tastypie>=0.14,<.0.15
+djangorestframework>=3.11,<3.12
# Python3 compatibility
six
diff --git a/wger/config/templates/language/overview.html b/wger/config/templates/language/overview.html
index 4542238d2..b6750d5c2 100644
--- a/wger/config/templates/language/overview.html
+++ b/wger/config/templates/language/overview.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Languages" %}{% endblock %}
diff --git a/wger/config/templates/language/view.html b/wger/config/templates/language/view.html
index c6a1f66c8..2cd3f01d2 100644
--- a/wger/config/templates/language/view.html
+++ b/wger/config/templates/language/view.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{{ view_language }}{% endblock %}
diff --git a/wger/core/templates/403.html b/wger/core/templates/403.html
index 93ba25f27..e0b2ef552 100644
--- a/wger/core/templates/403.html
+++ b/wger/core/templates/403.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles %}
+{% load i18n static %}
{% block title %}{% trans "Forbidden!" %}{% endblock %}
diff --git a/wger/core/templates/404.html b/wger/core/templates/404.html
index 0d826b2ab..aaa39f1b9 100644
--- a/wger/core/templates/404.html
+++ b/wger/core/templates/404.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles %}
+{% load i18n static %}
{% block title %}{% trans "Page not found" %}{% endblock %}
diff --git a/wger/core/templates/500.html b/wger/core/templates/500.html
index 4c4d6caec..e2e839e85 100644
--- a/wger/core/templates/500.html
+++ b/wger/core/templates/500.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles %}
+{% load i18n static %}
{% block title %}{% trans "An error occured" %}{% endblock %}
diff --git a/wger/core/templates/delete.html b/wger/core/templates/delete.html
index 83331b533..fe14aaa4a 100644
--- a/wger/core/templates/delete.html
+++ b/wger/core/templates/delete.html
@@ -1,5 +1,5 @@
{% extends extend_template %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
<!--
Title
diff --git a/wger/core/templates/form.html b/wger/core/templates/form.html
index 5d9f241d9..c6897f054 100644
--- a/wger/core/templates/form.html
+++ b/wger/core/templates/form.html
@@ -1,5 +1,5 @@
{% extends extend_template %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block header %}
diff --git a/wger/core/templates/index.html b/wger/core/templates/index.html
index ab79a0639..6044ed2c4 100644
--- a/wger/core/templates/index.html
+++ b/wger/core/templates/index.html
@@ -1,5 +1,5 @@
{% extends "base_wide.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Dashboard" %}{% endblock %}
diff --git a/wger/core/templates/license/list.html b/wger/core/templates/license/list.html
index 17ccbf09f..4c8b7afdc 100644
--- a/wger/core/templates/license/list.html
+++ b/wger/core/templates/license/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "License list" %}{% endblock %}
diff --git a/wger/core/templates/misc/about.html b/wger/core/templates/misc/about.html
index e72c08107..666af4790 100644
--- a/wger/core/templates/misc/about.html
+++ b/wger/core/templates/misc/about.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles %}
+{% load i18n static %}
{% block title %}{% trans "About us" %}{% endblock %}
@@ -14,5 +14,5 @@ ZIP code<br>
City<br>
({%trans "GNUPG-Key:" %} <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1234567890">1234567890</a>)
-</p>
+</p>
{% endblock %}
diff --git a/wger/core/templates/misc/license/list.html b/wger/core/templates/misc/license/list.html
index ecd6bc507..a2f71d025 100644
--- a/wger/core/templates/misc/license/list.html
+++ b/wger/core/templates/misc/license/list.html
@@ -1,5 +1,5 @@
% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "License list" %}{% endblock %}
diff --git a/wger/core/templates/mobile/index.html b/wger/core/templates/mobile/index.html
index 73e89cf8b..1d0054394 100644
--- a/wger/core/templates/mobile/index.html
+++ b/wger/core/templates/mobile/index.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Dashboard" %}{% endblock %}
diff --git a/wger/core/templates/mobile/template.html b/wger/core/templates/mobile/template.html
index 933802632..e6ccb9e98 100644
--- a/wger/core/templates/mobile/template.html
+++ b/wger/core/templates/mobile/template.html
@@ -16,7 +16,7 @@
along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.
-->
-{% load i18n staticfiles wger_extras compress django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras compress django_bootstrap_breadcrumbs %}
{% block breadcrumbs %}
{% clear_breadcrumbs %}
{% endblock %}
diff --git a/wger/core/templates/repetition_unit/list.html b/wger/core/templates/repetition_unit/list.html
index 034d39eb1..529953b52 100644
--- a/wger/core/templates/repetition_unit/list.html
+++ b/wger/core/templates/repetition_unit/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Repetition units" %}{% endblock %}
diff --git a/wger/core/templates/tags/language_select.html b/wger/core/templates/tags/language_select.html
index baf239a4c..e04d22700 100644
--- a/wger/core/templates/tags/language_select.html
+++ b/wger/core/templates/tags/language_select.html
@@ -1,4 +1,4 @@
-{% load i18n staticfiles %}
+{% load i18n static %}
<li>
<a href="{{i18n_path}}">
@@ -9,4 +9,4 @@
title="{% trans language_name %}"
style="border: 1px solid #151515;">
{% trans language_name %}</a>
-</li>
\ No newline at end of file
+</li>
diff --git a/wger/core/templates/tags/license-sidebar.html b/wger/core/templates/tags/license-sidebar.html
index b8f76e0ce..77c7a3870 100644
--- a/wger/core/templates/tags/license-sidebar.html
+++ b/wger/core/templates/tags/license-sidebar.html
@@ -1,4 +1,4 @@
-{% load i18n staticfiles %}
+{% load i18n static %}
<h4>{% trans "Free license" %}</h4>
<p>
@@ -7,7 +7,7 @@
{% if author %}
– {{author}}
{% endif %}
-
+
{% if license.url %}
<br>
<a rel="license" href="{{license.url}}">{% trans "Click here for more information" %}</a>
diff --git a/wger/core/templates/tags/render_day.html b/wger/core/templates/tags/render_day.html
index 68eaf4962..7a4b55531 100644
--- a/wger/core/templates/tags/render_day.html
+++ b/wger/core/templates/tags/render_day.html
@@ -1,4 +1,4 @@
-{% load i18n staticfiles wger_extras thumbnail %}
+{% load i18n static wger_extras thumbnail %}
<script>
$(document).ready(function() {
diff --git a/wger/core/templates/tags/render_weight_log.html b/wger/core/templates/tags/render_weight_log.html
index f9f2a440d..1acbadda7 100644
--- a/wger/core/templates/tags/render_weight_log.html
+++ b/wger/core/templates/tags/render_weight_log.html
@@ -1,4 +1,4 @@
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
<div id="svg-{{div_uuid}}" style="text-align:center;"></div>
<div style="overflow-x: auto;" class="weight-chart-table">
diff --git a/wger/core/templates/template.html b/wger/core/templates/template.html
index b2c194b28..2da3cc3a1 100644
--- a/wger/core/templates/template.html
+++ b/wger/core/templates/template.html
@@ -16,7 +16,7 @@
along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.
-->
-{% load i18n staticfiles wger_extras compress django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras compress django_bootstrap_breadcrumbs %}
{% block breadcrumbs %}
{% clear_breadcrumbs %}
{% endblock %}
diff --git a/wger/core/templates/template_features.html b/wger/core/templates/template_features.html
index 87a52d06c..8d20ce572 100644
--- a/wger/core/templates/template_features.html
+++ b/wger/core/templates/template_features.html
@@ -17,7 +17,7 @@
-->
-{% load i18n staticfiles compress wger_extras %}
+{% load i18n static compress wger_extras %}
<html lang="{{language.short_name}}">
{% spaceless_config %}
<head>
diff --git a/wger/core/templates/user/api_key.html b/wger/core/templates/user/api_key.html
index ece36ce07..8576b304e 100644
--- a/wger/core/templates/user/api_key.html
+++ b/wger/core/templates/user/api_key.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "API key" %}{% endblock %}
diff --git a/wger/core/templates/user/delete_account.html b/wger/core/templates/user/delete_account.html
index 08caffa43..24e5735b0 100644
--- a/wger/core/templates/user/delete_account.html
+++ b/wger/core/templates/user/delete_account.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Delete account" %}{% endblock %}
diff --git a/wger/core/templates/user/list.html b/wger/core/templates/user/list.html
index 7793507b7..72559a90a 100644
--- a/wger/core/templates/user/list.html
+++ b/wger/core/templates/user/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{% trans "User list" %}{% endblock %}
diff --git a/wger/core/templates/user/login.html b/wger/core/templates/user/login.html
index 47636dbc2..8a141a702 100644
--- a/wger/core/templates/user/login.html
+++ b/wger/core/templates/user/login.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Login" %}{% endblock %}
diff --git a/wger/core/templates/user/overview.html b/wger/core/templates/user/overview.html
index 106a7380c..726baedd2 100644
--- a/wger/core/templates/user/overview.html
+++ b/wger/core/templates/user/overview.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{{current_user|format_username}}{% endblock %}
diff --git a/wger/core/templates/user/preferences.html b/wger/core/templates/user/preferences.html
index 430375c6b..899772b76 100644
--- a/wger/core/templates/user/preferences.html
+++ b/wger/core/templates/user/preferences.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Preferences" %}{% endblock %}
diff --git a/wger/core/templates/weight_unit/list.html b/wger/core/templates/weight_unit/list.html
index 8d78db364..b31dcacfe 100644
--- a/wger/core/templates/weight_unit/list.html
+++ b/wger/core/templates/weight_unit/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Weight units" %}{% endblock %}
diff --git a/wger/exercises/templates/categories/admin-overview.html b/wger/exercises/templates/categories/admin-overview.html
index debf58f84..e325e97a9 100644
--- a/wger/exercises/templates/categories/admin-overview.html
+++ b/wger/exercises/templates/categories/admin-overview.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Categories" %}{% endblock %}
diff --git a/wger/exercises/templates/equipment/list.html b/wger/exercises/templates/equipment/list.html
index 8fc9b1d8e..89ef9d3f4 100644
--- a/wger/exercises/templates/equipment/list.html
+++ b/wger/exercises/templates/equipment/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Equipment list" %}{% endblock %}
diff --git a/wger/exercises/templates/equipment/overview.html b/wger/exercises/templates/equipment/overview.html
index 321129aa9..89471b9d5 100644
--- a/wger/exercises/templates/equipment/overview.html
+++ b/wger/exercises/templates/equipment/overview.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% load cache %}
{% load thumbnail %}
diff --git a/wger/exercises/templates/exercise/overview.html b/wger/exercises/templates/exercise/overview.html
index 8864645b9..2b9e8ed92 100644
--- a/wger/exercises/templates/exercise/overview.html
+++ b/wger/exercises/templates/exercise/overview.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% load cache %}
{% load thumbnail %}
diff --git a/wger/exercises/templates/exercise/pending.html b/wger/exercises/templates/exercise/pending.html
index c36c840eb..0ce376166 100644
--- a/wger/exercises/templates/exercise/pending.html
+++ b/wger/exercises/templates/exercise/pending.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% block title %}{% trans "Exercises pending review" %}{% endblock %}
diff --git a/wger/exercises/templates/exercise/view.html b/wger/exercises/templates/exercise/view.html
index 4af37fb40..0b2855ebf 100644
--- a/wger/exercises/templates/exercise/view.html
+++ b/wger/exercises/templates/exercise/view.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras thumbnail cache django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras thumbnail cache django_bootstrap_breadcrumbs %}
{# #}
diff --git a/wger/exercises/templates/mobile/exercise/overview.html b/wger/exercises/templates/mobile/exercise/overview.html
index 2f7311d28..9ce72f256 100644
--- a/wger/exercises/templates/mobile/exercise/overview.html
+++ b/wger/exercises/templates/mobile/exercise/overview.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% load thumbnail %}
{% load cache %}
diff --git a/wger/exercises/templates/muscles/admin-overview.html b/wger/exercises/templates/muscles/admin-overview.html
index 34a1be05e..9b28aa626 100644
--- a/wger/exercises/templates/muscles/admin-overview.html
+++ b/wger/exercises/templates/muscles/admin-overview.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{% trans "Muscle overview" %}{% endblock %}
diff --git a/wger/exercises/templates/muscles/overview.html b/wger/exercises/templates/muscles/overview.html
index 9711617d1..938584129 100644
--- a/wger/exercises/templates/muscles/overview.html
+++ b/wger/exercises/templates/muscles/overview.html
@@ -1,5 +1,5 @@
{% extends "base_wide.html" %}
-{% load i18n staticfiles cache wger_extras compress %}
+{% load i18n static cache wger_extras compress %}
<!--
Title
diff --git a/wger/gym/templates/admin_notes/list.html b/wger/gym/templates/admin_notes/list.html
index ef26bd0b9..18c91a8cb 100644
--- a/wger/gym/templates/admin_notes/list.html
+++ b/wger/gym/templates/admin_notes/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{% trans "User notes" %}{% endblock %}
diff --git a/wger/gym/templates/contract/list.html b/wger/gym/templates/contract/list.html
index 7097751e9..f27c5db9a 100644
--- a/wger/gym/templates/contract/list.html
+++ b/wger/gym/templates/contract/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{% trans "Contracts" %}{% endblock %}
diff --git a/wger/gym/templates/contract/view.html b/wger/gym/templates/contract/view.html
index 245e2226f..6d31f95ac 100644
--- a/wger/gym/templates/contract/view.html
+++ b/wger/gym/templates/contract/view.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{% trans 'Contract' %} {{ object }}{% endblock %}
diff --git a/wger/gym/templates/contract_option/list.html b/wger/gym/templates/contract_option/list.html
index fa0fd7f00..da0aef89c 100644
--- a/wger/gym/templates/contract_option/list.html
+++ b/wger/gym/templates/contract_option/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{% trans "Contract options" %}{% endblock %}
diff --git a/wger/gym/templates/contract_type/list.html b/wger/gym/templates/contract_type/list.html
index 12925e64b..45ad594a1 100644
--- a/wger/gym/templates/contract_type/list.html
+++ b/wger/gym/templates/contract_type/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{% trans "Contract types" %}{% endblock %}
diff --git a/wger/gym/templates/document/list.html b/wger/gym/templates/document/list.html
index b537d27ad..6ab5cc41e 100644
--- a/wger/gym/templates/document/list.html
+++ b/wger/gym/templates/document/list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{% trans "Documents" %}{% endblock %}
diff --git a/wger/gym/templates/gym/list.html b/wger/gym/templates/gym/list.html
index ab3c97ce8..8a2199a28 100644
--- a/wger/gym/templates/gym/list.html
+++ b/wger/gym/templates/gym/list.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% block title %}{% trans "Gym list" %}{% endblock %}
diff --git a/wger/gym/templates/gym/member_list.html b/wger/gym/templates/gym/member_list.html
index fab8657db..8d871aaa3 100644
--- a/wger/gym/templates/gym/member_list.html
+++ b/wger/gym/templates/gym/member_list.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{{gym}}{% endblock %}
diff --git a/wger/gym/templates/gym/new_user.html b/wger/gym/templates/gym/new_user.html
index 3e003cd70..13aaa4f31 100644
--- a/wger/gym/templates/gym/new_user.html
+++ b/wger/gym/templates/gym/new_user.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{{new_user|format_username}}{% endblock %}
diff --git a/wger/gym/templates/gym/partial_user_list.html b/wger/gym/templates/gym/partial_user_list.html
index fe0532f92..65e30c0a6 100644
--- a/wger/gym/templates/gym/partial_user_list.html
+++ b/wger/gym/templates/gym/partial_user_list.html
@@ -1,4 +1,4 @@
-{% load i18n staticfiles %}
+{% load i18n static %}
<link rel="stylesheet" type="text/css" href="{% static 'bower_components/datatables/media/css/dataTables.bootstrap.min.css' %}">
<script src="{% static 'bower_components/datatables/media/js/jquery.dataTables.min.js' %}" ></script>
diff --git a/wger/gym/templates/gym/reset_user_password.html b/wger/gym/templates/gym/reset_user_password.html
index f43bf4f82..82ec186aa 100644
--- a/wger/gym/templates/gym/reset_user_password.html
+++ b/wger/gym/templates/gym/reset_user_password.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{{mod_user|format_username}}{% endblock %}
diff --git a/wger/manager/templates/calendar/day.html b/wger/manager/templates/calendar/day.html
index 28b37077d..379522c31 100644
--- a/wger/manager/templates/calendar/day.html
+++ b/wger/manager/templates/calendar/day.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{# #}
{# Opengraph #}
diff --git a/wger/manager/templates/calendar/month.html b/wger/manager/templates/calendar/month.html
index ae2d656e1..63a63f82b 100644
--- a/wger/manager/templates/calendar/month.html
+++ b/wger/manager/templates/calendar/month.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{# #}
diff --git a/wger/manager/templates/day/log.html b/wger/manager/templates/day/log.html
index e82ddc4cf..fd1ee6d40 100644
--- a/wger/manager/templates/day/log.html
+++ b/wger/manager/templates/day/log.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{# #}
diff --git a/wger/manager/templates/mobile/schedule/view.html b/wger/manager/templates/mobile/schedule/view.html
index 5dcdc3f48..1844a7963 100644
--- a/wger/manager/templates/mobile/schedule/view.html
+++ b/wger/manager/templates/mobile/schedule/view.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{% block title %}{{schedule.name}}{% endblock %}
diff --git a/wger/manager/templates/mobile/set/add.html b/wger/manager/templates/mobile/set/add.html
index 3b84eac01..d049828fa 100644
--- a/wger/manager/templates/mobile/set/add.html
+++ b/wger/manager/templates/mobile/set/add.html
@@ -1,5 +1,5 @@
{% extends extend_template %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
<!--
diff --git a/wger/manager/templates/mobile/tags/language_select.html b/wger/manager/templates/mobile/tags/language_select.html
index 1be9b9336..0d04720be 100644
--- a/wger/manager/templates/mobile/tags/language_select.html
+++ b/wger/manager/templates/mobile/tags/language_select.html
@@ -1,5 +1,5 @@
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
<a href="{{i18n_path}}" class="list-group-item wger-list-group-item">
<span class="glyphicon glyphicon-chevron-right pull-right"></span>
@@ -11,4 +11,4 @@
title="{% trans language_name %}"
style="border: 1px solid #151515;">
{% trans language_name %}
-</a>
\ No newline at end of file
+</a>
diff --git a/wger/manager/templates/mobile/tags/render_day.html b/wger/manager/templates/mobile/tags/render_day.html
index f853096b0..48de2c47c 100644
--- a/wger/manager/templates/mobile/tags/render_day.html
+++ b/wger/manager/templates/mobile/tags/render_day.html
@@ -1,5 +1,5 @@
{% load i18n %}
-{% load staticfiles wger_extras thumbnail %}
+{% load static wger_extras thumbnail %}
{% if editable %}
<div class="modal fade" id="editoptions-day-{{ day.obj.id }}">
diff --git a/wger/manager/templates/mobile/workout/view.html b/wger/manager/templates/mobile/workout/view.html
index 009004eba..996766313 100644
--- a/wger/manager/templates/mobile/workout/view.html
+++ b/wger/manager/templates/mobile/workout/view.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{# #}
diff --git a/wger/manager/templates/schedule/overview.html b/wger/manager/templates/schedule/overview.html
index 7c517bfbf..6ac3b9a68 100644
--- a/wger/manager/templates/schedule/overview.html
+++ b/wger/manager/templates/schedule/overview.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}{% trans "Your schedules" %}{% endblock %}
diff --git a/wger/manager/templates/schedule/view.html b/wger/manager/templates/schedule/view.html
index b614dbd6f..01fc16422 100644
--- a/wger/manager/templates/schedule/view.html
+++ b/wger/manager/templates/schedule/view.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles wger_extras %}
+{% load static wger_extras %}
{# #}
{# Opengraph #}
diff --git a/wger/manager/templates/set/add.html b/wger/manager/templates/set/add.html
index 5173ee0f8..2172985e5 100644
--- a/wger/manager/templates/set/add.html
+++ b/wger/manager/templates/set/add.html
@@ -1,6 +1,6 @@
{% extends extend_template %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
diff --git a/wger/manager/templates/set/edit.html b/wger/manager/templates/set/edit.html
index 09db99b21..5d056a697 100644
--- a/wger/manager/templates/set/edit.html
+++ b/wger/manager/templates/set/edit.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
diff --git a/wger/manager/templates/workout/log.html b/wger/manager/templates/workout/log.html
index 106872caf..fdf7cb6a8 100644
--- a/wger/manager/templates/workout/log.html
+++ b/wger/manager/templates/workout/log.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{# #}
diff --git a/wger/manager/templates/workout/overview.html b/wger/manager/templates/workout/overview.html
index f8e37213d..1e0fe1c39 100644
--- a/wger/manager/templates/workout/overview.html
+++ b/wger/manager/templates/workout/overview.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}{% trans "Your workouts" %}{% endblock %}
diff --git a/wger/manager/templates/workout/timer.html b/wger/manager/templates/workout/timer.html
index d04b8a804..cb6651dfb 100644
--- a/wger/manager/templates/workout/timer.html
+++ b/wger/manager/templates/workout/timer.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% load l10n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% load cache %}
diff --git a/wger/manager/templates/workout/view.html b/wger/manager/templates/workout/view.html
index 8ecc022ec..549d0a2e8 100644
--- a/wger/manager/templates/workout/view.html
+++ b/wger/manager/templates/workout/view.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{# #}
diff --git a/wger/nutrition/templates/bmi/form.html b/wger/nutrition/templates/bmi/form.html
index 9df10a4b6..782a899a6 100644
--- a/wger/nutrition/templates/bmi/form.html
+++ b/wger/nutrition/templates/bmi/form.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% block header %}
diff --git a/wger/nutrition/templates/ingredient/overview.html b/wger/nutrition/templates/ingredient/overview.html
index a28e94cc7..0fb1fad0c 100644
--- a/wger/nutrition/templates/ingredient/overview.html
+++ b/wger/nutrition/templates/ingredient/overview.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% load cache %}
diff --git a/wger/nutrition/templates/ingredient/pending.html b/wger/nutrition/templates/ingredient/pending.html
index e6de7dd9a..652a294de 100644
--- a/wger/nutrition/templates/ingredient/pending.html
+++ b/wger/nutrition/templates/ingredient/pending.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% block title %}{% trans "Ingredients pending review" %}{% endblock %}
diff --git a/wger/nutrition/templates/ingredient/view.html b/wger/nutrition/templates/ingredient/view.html
index 56b385d84..9e19651c6 100644
--- a/wger/nutrition/templates/ingredient/view.html
+++ b/wger/nutrition/templates/ingredient/view.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
+{% load i18n static wger_extras django_bootstrap_breadcrumbs %}
{% block title %}{{ingredient.name}}{% endblock %}
diff --git a/wger/nutrition/templates/meal_item/edit.html b/wger/nutrition/templates/meal_item/edit.html
index 8b3993104..7b0e44ac5 100644
--- a/wger/nutrition/templates/meal_item/edit.html
+++ b/wger/nutrition/templates/meal_item/edit.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
diff --git a/wger/nutrition/templates/mobile/plan/view.html b/wger/nutrition/templates/mobile/plan/view.html
index 6be76c422..637087d37 100644
--- a/wger/nutrition/templates/mobile/plan/view.html
+++ b/wger/nutrition/templates/mobile/plan/view.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{# #}
diff --git a/wger/nutrition/templates/plan/overview.html b/wger/nutrition/templates/plan/overview.html
index fceba273c..e93d07514 100644
--- a/wger/nutrition/templates/plan/overview.html
+++ b/wger/nutrition/templates/plan/overview.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% block title %}{% trans "Your nutrition plans" %}{% endblock %}
diff --git a/wger/nutrition/templates/plan/view.html b/wger/nutrition/templates/plan/view.html
index d40511b64..dfeae3cc6 100644
--- a/wger/nutrition/templates/plan/view.html
+++ b/wger/nutrition/templates/plan/view.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{# #}
diff --git a/wger/nutrition/templates/rate/form.html b/wger/nutrition/templates/rate/form.html
index a379a2446..676c17a4d 100644
--- a/wger/nutrition/templates/rate/form.html
+++ b/wger/nutrition/templates/rate/form.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% block header %}
diff --git a/wger/nutrition/templates/units/list.html b/wger/nutrition/templates/units/list.html
index 09e06e220..30f36ea89 100644
--- a/wger/nutrition/templates/units/list.html
+++ b/wger/nutrition/templates/units/list.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
{% block title %}{% trans "Ingredient weight units" %}{% endblock %}
diff --git a/wger/software/templates/api.html b/wger/software/templates/api.html
index 3f7203b63..6afed01fe 100644
--- a/wger/software/templates/api.html
+++ b/wger/software/templates/api.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
diff --git a/wger/software/templates/contribute.html b/wger/software/templates/contribute.html
index 0114d54ef..0381ec72c 100644
--- a/wger/software/templates/contribute.html
+++ b/wger/software/templates/contribute.html
@@ -1,5 +1,5 @@
{% extends "base_wide.html" %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
diff --git a/wger/software/templates/features.html b/wger/software/templates/features.html
index 7b7ca056a..3031e0ca0 100644
--- a/wger/software/templates/features.html
+++ b/wger/software/templates/features.html
@@ -1,5 +1,5 @@
{% extends "base_features.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{# #}
{# Opengraph #}
diff --git a/wger/software/templates/issues.html b/wger/software/templates/issues.html
index f0e81dc35..7c4b8c070 100644
--- a/wger/software/templates/issues.html
+++ b/wger/software/templates/issues.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load staticfiles %}
+{% load static %}
{% load i18n %}
diff --git a/wger/software/templates/license.html b/wger/software/templates/license.html
index 2eaebcf71..ed14e87db 100644
--- a/wger/software/templates/license.html
+++ b/wger/software/templates/license.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
diff --git a/wger/software/templates/tos.html b/wger/software/templates/tos.html
index bfd210c65..eaa81ce68 100644
--- a/wger/software/templates/tos.html
+++ b/wger/software/templates/tos.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% load staticfiles %}
+{% load static %}
{% load wger_extras %}
diff --git a/wger/weight/templates/overview.html b/wger/weight/templates/overview.html
index 82e346b23..c13eb3ae1 100644
--- a/wger/weight/templates/overview.html
+++ b/wger/weight/templates/overview.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n staticfiles wger_extras %}
+{% load i18n static wger_extras %}
{# #}
{# Title #}