Alternately, if you are working with anonymous users you can use
anonymous sessions to get the same effect:
http://docs.djangoproject.com/en/dev/topics/http/sessions/
Hector Garcia - Web developer, musician
http://nomadblue.com/
On Tue, Oct 13, 2009 at 11:03 PM, Sonal Breed wrote:
>
> Thanks
Thanks a lot Mihail :-)
Really appreciate it.
Thanks,
Sincerely,
Sonal.
On Oct 13, 1:53 pm, Михаил Лукин wrote:
> First of all, you don't need to check request.method == 'POST' twice; you
> don't need to check action here.
> Finally, you can use user messages to add and display confirmations:
>
First of all, you don't need to check request.method == 'POST' twice; you
don't need to check action here.
Finally, you can use user messages to add and display confirmations:
in view:
http://docs.djangoproject.com/en/dev/topics/auth/#messages
Put messages in base template and you can see them eve
Hi all,
I need to show a confirm message when the data is saves successfully
in the database.
My view function snippet is as following:
def itemSave(request, id=None, d={}):
if request.method == "POST":
if request.method == "POST" and form.is_valid():
if action == 'Save
4 matches
Mail list logo