Hi all A really simple question:
I'm mostly using code like this: data = {'message': 'Some message to user...'} return render_to_response('main.html', data) But for error messages to users if one wishes to use a redirect like this: return HttpResponseRedirect('/error_page.html') How can one add data into this page? The Redirect is nice in that it does not show the old URL which might be quite wrong - hence the error. The Django docs say that HttpResponseRedirect('/whatever/url/') takes just one argument. I'd like to use one error_page.html template for a range of errors. Do people use maybe HttpResponseRedirect('error/') where error is some defined function and somehow pass a message string to it? Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---