{{ item.field값|default_if_none:"" }}
{{ item.field값|default:"" }}
'Python' 카테고리의 다른 글
mysql에 현재 시간 입력시 UTC, KTC 이슈 (0) | 2019.10.22 |
---|---|
날짜 유효성 체크 (0) | 2019.10.22 |
django 특정기간 동안 반복문 (0) | 2019.10.22 |
django 날짜를 비교할때 자료형이 문자형이라면 날짜형으로 변환 (0) | 2019.10.22 |
python db 수동 연결 샘플 pymysql (0) | 2019.10.21 |