euscanwww: Adding missing login_required to UserFeed

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-08-14 14:19:38 +02:00
parent 39e1f95128
commit 0d956b4c9f

View File

@ -2,6 +2,7 @@ from django.conf.urls.defaults import url, patterns, include
from django.contrib.auth.decorators import user_passes_test from django.contrib.auth.decorators import user_passes_test
from django.contrib.auth.views import logout from django.contrib.auth.views import logout
from django.views.generic import RedirectView from django.views.generic import RedirectView
from django.contrib.auth.decorators import login_required
from djcelery.views import apply as apply_task from djcelery.views import apply as apply_task
from djeuscan.views import registered_tasks from djeuscan.views import registered_tasks
@ -94,7 +95,7 @@ accounts_patterns = patterns('djeuscan.views',
url(r'^packages/$', 'accounts_packages', name="accounts_packages"), url(r'^packages/$', 'accounts_packages', name="accounts_packages"),
url(r'^overlays/$', 'accounts_overlays', name="accounts_overlays"), url(r'^overlays/$', 'accounts_overlays', name="accounts_overlays"),
url(r'^feed/$', UserFeed(), name='user_feed'), url(r'^feed/$', login_required(UserFeed()), name='user_feed'),
url(r'^logout/$', logout, {'next_page': '/'}), url(r'^logout/$', logout, {'next_page': '/'}),