from django.conf.urls import patterns, url

from views import MyTicketListView

urlpatterns = patterns('',
    url(r'^my/$', MyTicketListView.as_view(), name='list'),
)

@@ -35,16 +35,74 @@
 rns, url
+%0Afrom django.contrib.auth.decorators import login_required
 %0A%0Afrom v
@@ -176,16 +176,31 @@
 %5Emy/$', 
+login_required(
 MyTicket
@@ -217,16 +217,17 @@
 s_view()
+)
 , name='

add login_required decorator to my list view url