Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
モデルフォームを介してモデルの1つのフィールドのみを表示したいので、そのフィールドをフィールドリストに入れてみましたが、http://i1.imageban.ru/out/2011/03/18/f5b78d2a2351a1adeec3c8d2f5452859のようにクラッシュします。 png、他のフィールドを追加すると正常に機能しますが、その理由を誰かが知っていますか?
コードをいくつか示してください。ただし、フィールドをリストとして配置していないようです。
fields = my_field_name
代わりにこれを行う必要があります
field = (my_field_name,)