Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix django.core.context_processors deprecation.
Peter van der Does0c69a8c8dc4c
diff --git a/wger/core/views/user.py b/wger/core/views/user.pyindex 13ddc5b00..7dd9ee5ca 100644--- a/wger/core/views/user.py+++ b/wger/core/views/user.py@@ -18,7 +18,7 @@ import loggingfrom django.shortcuts import render, get_object_or_404from django.http import HttpResponseRedirect, HttpResponseForbidden-from django.core.context_processors import csrf+from django.template.context_processors import csrffrom django.core.urlresolvers import reversefrom django.utils.translation import ugettext as _, ugettext_lazyfrom django.utils import translationdiff --git a/wger/manager/views/log.py b/wger/manager/views/log.pyindex d775e1203..a762e49e4 100644--- a/wger/manager/views/log.py+++ b/wger/manager/views/log.py@@ -22,7 +22,7 @@ from django.contrib.auth.mixins import PermissionRequiredMixin, LoginRequiredMixfrom django.shortcuts import renderfrom django.shortcuts import get_object_or_404from django.http import HttpResponseRedirect, HttpResponseForbidden-from django.core.context_processors import csrf+from django.template.context_processors import csrffrom django.core.urlresolvers import reverse, reverse_lazyfrom django.utils.translation import ugettext_lazy, ugettext as _from django.forms.models import modelformset_factorydiff --git a/wger/manager/views/workout.py b/wger/manager/views/workout.pyindex fa95c6b1c..a14e1ee23 100644--- a/wger/manager/views/workout.py+++ b/wger/manager/views/workout.py@@ -20,7 +20,7 @@ import datetimefrom django.shortcuts import render, get_object_or_404from django.http import HttpResponseRedirect, HttpResponseForbidden-from django.core.context_processors import csrf+from django.template.context_processors import csrffrom django.core.urlresolvers import reverse, reverse_lazyfrom django.utils.translation import ugettext_lazy, ugettext as _from django.contrib.auth.mixins import PermissionRequiredMixin, LoginRequiredMixindiff --git a/wger/nutrition/views/plan.py b/wger/nutrition/views/plan.pyindex c821eca5a..56b4bcdad 100644--- a/wger/nutrition/views/plan.py+++ b/wger/nutrition/views/plan.py@@ -24,7 +24,7 @@ from django.http import (HttpResponseForbidden,HttpResponseRedirect)-from django.core.context_processors import csrf+from django.template.context_processors import csrffrom django.core.urlresolvers import reverse, reverse_lazyfrom django.contrib.auth.decorators import login_requiredfrom django.utils.translation import ugettext_lazy, ugettext as _