回答編集履歴
2
typo
answer
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
```
|
6
6
|
を
|
7
7
|
```Python
|
8
|
+
class AboutView(View):
|
8
|
-
|
9
|
+
def get(self, request, *args, **kwargs):
|
9
|
-
def get(self, request):
|
10
10
|
return render(request, 'app/about.html')
|
11
11
|
```
|
12
12
|
に直すと良いでしょう。
|
1
引数忘れ
answer
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
```
|
6
6
|
を
|
7
7
|
```Python
|
8
|
-
class AboutView(View):
|
8
|
+
class AboutView(View, *args, **kwargs):
|
9
9
|
def get(self, request):
|
10
10
|
return render(request, 'app/about.html')
|
11
11
|
```
|