You can add the decorator in the urls.py from django.contrib.auth.decorators import login_required url(r'^workers/$', login_required(views.RootWorkerView.as_view()))