Список пуст, но “ObjectsByAuthor.allow_empty” выставлено в значение "Ложь", что запрещает показывать пустые списки.
Request Method: | GET |
---|---|
Request URL: | http://audiokniga.zone/authors/lev-gumilyov/ |
Raised by: | books.views.ObjectsByAuthor |
Using the URLconf defined in audioknigazone.urls
,
Django tried these URL patterns, in this order:
The current path, authors/lev-gumilyov/
,
matched the last one.
You’re seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.