get_url method can be used in templates