Closed raphaelyancey closed 5 years ago
Also, I think SlugMixin is useless as it is meant for detail views.
SlugMixin
To investigate: cannot use super().get_queryset().published() (it raises an exception, not sure why) so using self.model.objects for now.
super().get_queryset().published()
self.model.objects
good catch @raphaelyancey thanks!
Also, I think
SlugMixin
is useless as it is meant for detail views.To investigate: cannot use
super().get_queryset().published()
(it raises an exception, not sure why) so usingself.model.objects
for now.