質問編集履歴
2
エラーメッセージ一部修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
<class 'admin.HumanAdmin'>:
|
50
50
|
|
51
|
-
(admin.E116) The value of 'list_filter[1]' refers to '
|
51
|
+
(admin.E116) The value of 'list_filter[1]' refers to 'is_miseinen', which does not refer to a Field.
|
52
52
|
|
53
53
|
```
|
54
54
|
|
1
コードの一部修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,9 +30,9 @@
|
|
30
30
|
|
31
31
|
class HumanAdmin(CustomModelAdmin):
|
32
32
|
|
33
|
-
list_display = ('family_name', 'born_year', 'gender', )
|
33
|
+
list_display = ('family_name', 'born_year', 'gender', 'is_miseinen', )
|
34
34
|
|
35
|
-
list_filter = ('family_name', )
|
35
|
+
list_filter = ('family_name', 'is_miseinen', )
|
36
36
|
|
37
37
|
```
|
38
38
|
|