Well, being a newbie, I'm not sure of the best way to do this, but here's one solution I use myself:
the view (.../views/reports.py):
from django.views.decorators.auth import login_required
@login_required
def index(request):
return render_to_response('ttime/reports', {'title' : 'Reports'})
from urls.py:
(r'^reports/logout', 'django.views.auth.login.logout'),
(r'^reports/login', 'django.views.auth.login.login'),
(r'^reports/', 'ttime.apps.ttime.views.reports.index'),
Cheers
/LarS

