Redirect from get_queryset() in a class view?

2011-12-10 Thread Eli Criffield
in get and check there and return redirect. But that seems hacky. I'm just wonder whats the best way to do this. Eli Criffield -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.

Re: Redirect from get_queryset() in a class view?

2011-12-12 Thread Eli Criffield
I like the raise exception idea, but where do i catch it? In a decorator? Overwrite get() ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/KMhk4RFokUAJ.