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

I have a model with some Integer fields which represent times in seconds. 

I would like to display these fields not as integers but as a time HH:MM:SS using something like <field name="int_field" widget="int_time"/> similar to how you would use the float_time widget. 

How do I create and register such a custom widget?

아바타
취소
관련 게시물 답글 화면 활동
2
12월 17
6961
1
7월 24
2365
0
9월 23
2081
0
9월 23
1828
1
7월 23
4749