from django.contrib.auth.mixins import LoginRequiredMixin
from django.views.generic import CreateView,ListView
from .models import Article
from django.urls import reverse_lazy
class ArticleListView(LoginRequiredMixin,ListView):
model = Article
template_name = 'article_list.html'
login_url = 'login'
Как настроить страницу ошибки 404?