ticket:8 - fix template tag and imports by PEP8