It would help if I wasn't using `pattern_name` wrongly. For anyone else who
does something similarly silly, `pattern_name` would be the actual pattern
name, not the name of the url you want to redirect to. In this case, I want
to use `url` parameter with `reverse`.
--
You received this message
It would help if I wasn't using `pattern_name` wrongly. For anyone else who
does something similarly sill, `pattern_name` would be the actual pattern
name, not the name of the url you want to redirect to. In this case, I want
to use `url` with `reverse`.
--
You received this message because yo
url(r'^change-service/$', RedirectView.as_view(pattern_name='new-service',
permanent=False))
url(r'^new-service/$', 'service', name='service'),
Hitting this route gives a 410 error. I've never used the RedirectView so
perhaps I haven't implemented something correctly?
Thanks
--
You received
3 matches
Mail list logo