Re: sending data with HttpResponseRedirect

2012-09-12 Thread Cal Leeming [Simplicity Media Ltd]
Actually, just seen that flash hasn't been maintained, and my own personal usage of it was touch and go at best These days, I also tend to use the approach of storing a message in the session instead (as explained by Jirka). Cal On Wed, Sep 12, 2012 at 2:35 PM, Jirka Vejrazka

Re: sending data with HttpResponseRedirect

2012-09-12 Thread Simon Cossar
thank's, that's just what I was looking for. On Wed, Sep 12, 2012 at 6:35 AM, Jirka Vejrazka wrote: > If you have sessions enabled, you can use the built-in messages > framework (look in contrib) to display a message on the "next" page. > Alternatively, you can save

Re: sending data with HttpResponseRedirect

2012-09-12 Thread Jirka Vejrazka
If you have sessions enabled, you can use the built-in messages framework (look in contrib) to display a message on the "next" page. Alternatively, you can save (semi-) arbitrary data in the user session and retrieve it in the view that displays the "success" page. HTH Jirka -- You

Re: sending data with HttpResponseRedirect

2012-09-12 Thread Cal Leeming [Simplicity Media Ltd]
Hey, You might find this helpful; https://github.com/danielfm/django-flash Cal On Wed, Sep 12, 2012 at 5:19 AM, Simon Cossar wrote: > Hi All, I'm just starting to play around with Django... working through > the tutorial and the Django Book. I have just written a view

sending data with HttpResponseRedirect

2012-09-12 Thread Simon Cossar
Hi All, I'm just starting to play around with Django... working through the tutorial and the Django Book. I have just written a view that after successfully processing a form uses HttpResponseRedirect() to send the user to a 'success' page. Is their a standard way of accessing the form data from