回答編集履歴

2

typo

2020/12/22 05:04

投稿

A_kirisaki
A_kirisaki

スコア2853

test CHANGED
@@ -12,9 +12,9 @@
12
12
 
13
13
  ```Python
14
14
 
15
- class AboutView(View, *args, **kwargs):
15
+ class AboutView(View):
16
16
 
17
- def get(self, request):
17
+ def get(self, request, *args, **kwargs):
18
18
 
19
19
  return render(request, 'app/about.html')
20
20
 

1

引数忘れ

2020/12/22 05:04

投稿

A_kirisaki
A_kirisaki

スコア2853

test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  ```Python
14
14
 
15
- class AboutView(View):
15
+ class AboutView(View, *args, **kwargs):
16
16
 
17
17
  def get(self, request):
18
18