Hi,
is there a specific reason why the RedirectView does not have a "view_name"
attribute and out-of-the-box supporting to reverse it?
if self.url:
url = self.url
elif self.view_name:
url = reverse(self.view_name, kwargs=kwargs, request=request)
else:
return None
best regards
ludwig
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-developers/-/YaZrSyhb7fEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.