コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5084 ビュー

Hi community, just wanna ask if there is a way to access fields function that is not saved i.e it's store behaviour is False? If there is then how? Thanks.

アバター
破棄
最善の回答

If you want to use the value for filtering in a view, I guess you have to store it. If not, you should be able to use a function field within Python code whithout any problems.

アバター
破棄
著作者

Thanks sir for your comment, i want to use it's value for comparison and for validation. So can i access it just like an ordinary field (i.e class.fields_function)?

A field is a field. The mooment you create it and populate it, you can use it.

著作者

OK, thanks again sir.

関連投稿 返信 ビュー 活動
0
9月 15
6117
3
3月 15
7452
2
11月 20
6202
4
3月 20
7316
2
3月 24
3770