If it does not work if the door is an integer
flowing change code:
{% if codeInt1|add:0 == codeInt2|add:0 %}
The default settings is a string. so This conversion is necessary to int.
'web > Django' 카테고리의 다른 글
django.db.utils.IntegrityError: Unknown table (0) | 2014.10.21 |
---|---|
django ie8 / ie9 json save as problem (0) | 2014.10.01 |
ImportError: cannot import name execute_manager (0) | 2014.09.29 |
google plue login error 401 invalid_client (0) | 2014.09.28 |
remove django admin page auth menu (0) | 2014.09.24 |