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.txtindex 7ce87a8d0..ce9d08949 100644--- a/requirements.txt+++ b/requirements.txt@@ -8,11 +8,11 @@ django-bower==5.2.0django-formtools>=2.0,<3.0django-recaptcha==2.0.6Django>=3.0,<3.1-django_compressor==2.2+django_compressor>=2.4,<2.5django_extensions>=2.1django-sorted-m2m>=2.0django-storages>=1.7-easy-thumbnails==2.6+easy-thumbnails>=2.7,<2.8icalendar==4.0.3invoke==0.17pillow==4.1.0@@ -32,8 +32,8 @@ python-memcached# REST APIdjango-cors-headers>=3.0django-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 compatibilitysixdiff --git a/wger/config/templates/language/overview.html b/wger/config/templates/language/overview.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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 %}<!--Titlediff --git a/wger/core/templates/form.html b/wger/core/templates/form.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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><a href="mailto:[email protected]">[email protected]</a>({%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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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 %}<!--Titlediff --git a/wger/gym/templates/admin_notes/list.html b/wger/gym/templates/admin_notes/list.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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.htmlindex 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 #}