İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5092 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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.

Üretici

OK, thanks again sir.

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eyl 15
6119
3
Mar 15
7462
2
Kas 20
6215
4
Mar 20
7324
2
Mar 24
3786