Replacing hard coded urls with {% url ... %}.