On Thursday, 19 January 2017 12:17:49 UTC, Grzegorz Tężycki wrote:
>
> I think, that method get_redirect_url should raise ImproperlyConfigured 
> error with message "Reverse for 'xxxx' not found.", or NoReverseMatch 
> exception not should be catch.
>

I would prefer to stop catching NoReverseMatch, rather than raising 
ImproperlyConfigured. I think that

RedirectView(pattern_name='view-does-not-exist').as_view()

should have the same behaviour as 

RedirectView(url=reverse_lazy('view-does-not-exist')).as_view()

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/004e6f3e-e750-47dd-8469-baf799933fe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to