質問編集履歴
1
エラー変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
### 発生している問題
|
9
9
|
|
10
|
-
|
10
|
+
'AnimalForm' object has no attribute 'save'
|
11
11
|
|
12
12
|
というエラー
|
13
13
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
forms.py
|
36
36
|
```
|
37
|
-
class AnimalForm(forms.
|
37
|
+
class AnimalForm(forms.Form):
|
38
38
|
model = Hoge
|
39
39
|
fields = ('animal')
|
40
40
|
labels = {
|