I'm new to django and this is giving me a problem. I'm trying to get a simple GET variable. mysite/search/?q=&start=10&end=20&language=Python it works..
My view is:
def search(request, invalid_subscribe_to_alert_form=None):
...
start = int(request.GET.get('start', 1))
end = int(request.GET.get('end', 10))
and then I request this
mysite/search/?q=&start=aword&end=20&language=Python
How do I redirect to the same page in after catching the value error?such that request is gone back to 404 page.