Closed mofr closed 5 years ago
It should look like:
winter.router.reverse(SomeController.some_method, some_arg='some_value')
reverse should return rendered url template.
Additional context Spring implementation: https://github.com/resthub/springmvc-router#reverse-routing Django implementation: https://docs.djangoproject.com/en/2.2/ref/urlresolvers/#reverse
Done in https://github.com/mofr/winter/pull/121
It should look like:
reverse should return rendered url template.
Additional context Spring implementation: https://github.com/resthub/springmvc-router#reverse-routing Django implementation: https://docs.djangoproject.com/en/2.2/ref/urlresolvers/#reverse