replaced acco_required with user.acco_required in template and made change accordingly
from django.conf.urls.defaults import *
from sage_days.sdi.views import register, reg_complete, list_stats, homepage, send_invi, admin_login, admin_logout
from sage_days.sdi.views import send_workshop_confirm, confirm_wsp_participation, send_sagedays_confirm, confirm_sgd_participation
urlpatterns = patterns('',
(r'^register/$', register),
(r'^complete/$', reg_complete),
(r'^stats/$', list_stats),
(r'^send_invi/$', send_invi),
(r'^login/$', admin_login),
(r'^logout/$', admin_logout),
(r'^send_wsp_cnf/$', send_workshop_confirm),
(r'^cnf_wsp_ptc/(\w+)/$', confirm_wsp_participation),
(r'^send_sgd_cnf/$', send_sagedays_confirm),
(r'^cnf_sgd_ptc/(\w+)/$', confirm_sgd_participation),
)