# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from blog.views import CommonMixin
from django.views.generic import ListView
from .models import Link
from comment.views import CommentShowMixin


class LinkView(CommonMixin, CommentShowMixin, ListView):
    queryset = Link.objects.filter(status=1)
    template_name = 'config/links.html'
    context_object_name = 'links'

