works with django url params.