feat: Update test configurations and add smoke tests for named view routes
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
+1
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user