This will work now but after some changes above you should to use django url templatetag