콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5061 화면

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
6114
3
3월 15
7435
2
11월 20
6197
4
3월 20
7306
2
3월 24
3766