I don't know if this is the best solution, but I made a
context_preocessor which add content from session variable to every
template i load. I then put in my layout a variable to show it. Finally,
every time I want to show some message i add it to a given variable in
session. Code for context
On Sep 3, 3:36 am, Rodney Topor wrote:
> Suppose you've just processed posted form data and successfully added
> a new item to the database. Now you return HttpResponseRedirect('/
> items/') (I know, you should use a pattern name not an absolute URL
> here) to display the list of items, includin
Suppose you've just processed posted form data and successfully added
a new item to the database. Now you return HttpResponseRedirect('/
items/') (I know, you should use a pattern name not an absolute URL
here) to display the list of items, including the newly added item.
But, suppose you want t
3 matches
Mail list logo