Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Simplify module loading in template

Roland Geider00f900d42153
diff --git a/wger/core/templates/mobile/template.html b/wger/core/templates/mobile/template.html
index 943e21bd6..e731c4e93 100644
--- a/wger/core/templates/mobile/template.html
+++ b/wger/core/templates/mobile/template.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-{% load i18n %}{% load staticfiles %}{% load cache %}{% load compress %}{% load wger_extras %}
+{% load i18n staticfiles cache compress wger_extras %}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/wger/core/templates/template.html b/wger/core/templates/template.html
index ad8490f8f..c7f64b80d 100644
--- a/wger/core/templates/template.html
+++ b/wger/core/templates/template.html
@@ -1,8 +1,5 @@
<!DOCTYPE html>
-{% load i18n %}
-{% load staticfiles %}
-{% load wger_extras %}
-{% load compress %}
+{% load i18n staticfiles wger_extras compress %}
<html lang="{{language.short_name}}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />