changing up templates to use django