feat: Update test configurations and add smoke tests for named view routes

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ross
2026-04-30 22:35:11 +01:00
parent d12933e62a
commit 26a73d1d3b
5 changed files with 179 additions and 5 deletions
+1 -2
View File
@@ -4506,8 +4506,7 @@ class GenericViewBase:
@method_decorator(login_required)
def author_detail(self, request, pk):
# logging.debug(Author.objects.all())
# author = get_object_or_404(Author, pk=pk)
author = User.objects.get(pk=pk)
author = get_object_or_404(User, pk=pk)
questions = self.question_object.objects.filter(author=pk)