smarturls a url construction helper for django