Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
5063 Ansichten

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.

Avatar
Verwerfen
Beste Antwort

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.

Avatar
Verwerfen
Autor

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.

Autor

OK, thanks again sir.

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Sept. 15
6114
3
März 15
7435
2
Nov. 20
6197
4
März 20
7306
2
März 24
3766