Skip to content

Commit 666d972

Browse files
committed
Just use kwargs
1 parent c5ac7f7 commit 666d972

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readthedocs/builds/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def _get_versions(self, project):
8787

8888
class BuildList(BuildBase, BuildTriggerMixin, ListView):
8989

90-
def get_context_data(self, *args, **kwargs):
91-
context = super().get_context_data(*args, **kwargs)
90+
def get_context_data(self, **kwargs):
91+
context = super().get_context_data(**kwargs)
9292

9393
active_builds = self.get_queryset().exclude(
9494
state='finished',

readthedocs/projects/views/public.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def get_queryset(self):
6060

6161
return queryset
6262

63-
def get_context_data(self, *args, **kwargs):
64-
context = super().get_context_data(*args, **kwargs)
63+
def get_context_data(self, **kwargs):
64+
context = super().get_context_data(**kwargs)
6565
context['tag'] = self.tag
6666
return context
6767

0 commit comments

Comments
 (0)