Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

The decorator 'permission_required' is not used anymore, don't import it

Roland Geider288e503eefb4
diff --git a/manager/views.py b/manager/views.py
index c2da30951..5b45966fc 100644
--- a/manager/views.py
+++ b/manager/views.py
@@ -24,7 +24,7 @@ from django.http import Http404
from django.forms import ModelForm
from django.forms.models import modelformset_factory
from django.core.context_processors import csrf
-from django.contrib.auth.decorators import permission_required, login_required
+from django.contrib.auth.decorators import login_required
from django.utils.translation import ugettext as _
from django.contrib.auth import authenticate