diff options
Diffstat (limited to 'packages/views.py')
-rw-r--r-- | packages/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/views.py b/packages/views.py index 7c57d88a..2291c4f4 100644 --- a/packages/views.py +++ b/packages/views.py @@ -2,7 +2,7 @@ from django import forms from django.contrib import messages from django.contrib.admin.widgets import AdminDateWidget from django.contrib.auth.models import User -from django.contrib.auth.decorators import login_required, permission_required +from django.contrib.auth.decorators import permission_required from django.conf import settings from django.core.mail import send_mail from django.db.models import Q @@ -403,7 +403,7 @@ def arch_differences(request): } return direct_to_template(request, 'packages/differences.html', context) -@login_required +@permission_required('main.change_package') def stale_relations(request): relations = PackageRelation.objects.select_related('user') pkgbases = Package.objects.all().values('pkgbase') |