url(r'^links$', login_required(views.LinkListView.as_view()), name='links')
class LinkListView(ListView):
model = Link
template_name = "app/links.html"
href="{% url 'links' %}"
NoReverseMatch
url(r'^links$', login_required(views.LinkListView.as_view(), login_url=reverse_lazy('your_login_url')), name='links')