質問するログイン新規登録

質問編集履歴

1

forms.py追加

2015/09/06 06:41

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -160,4 +160,17 @@
160
160
  </form>
161
161
 
162
162
  {% endblock main %}
163
- ```
163
+ ```
164
+
165
+ forms.py
166
+ ```Python
167
+ from django import forms
168
+ from .models import ActressMaster
169
+
170
+ class ActressMasterForm(forms.ModelForm):
171
+ class Meta:
172
+ model = ActressMaster
173
+ fields = '__all__'
174
+ ```
175
+
176
+ StackOverflowなども見ましたが、解決出来ませんでした。