summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-09 22:43:07 -0700
committereliott <eliott@cactuswax.net>2008-04-09 22:43:07 -0700
commit751ac09698cb58afddb3e726a29438646777e877 (patch)
treed26e51fa37ca5be6ed85826644f8d87cf2ce51dd /packages
parentca033e91bf5e6c22369447a0f1c7fdd4e497b736 (diff)
Removed login_required from the individual views.
Not entire dev site requires login.
Diffstat (limited to 'packages')
-rw-r--r--packages/views.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/views.py b/packages/views.py
index fc19e444..87d61f93 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -3,7 +3,6 @@ from django.shortcuts import get_object_or_404
from django.core.mail import send_mail
from django.template import Context, loader
from django.core import validators
-from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import User
from datetime import datetime
from archweb_dev.main.utils import validate, render_response
@@ -174,7 +173,6 @@ def flag(request, pkgid):
fail_silently=True)
return render_response(request, 'packages/flag.html', context)
-@login_required
def unflag(request, pkgid):
pkg = get_object_or_404(Package, id=pkgid)
pkg.needupdate = 0