On Mon, 2008-06-23 at 00:45 -0700, Tye wrote:
> [...]
>
> def message_send(request)
>     # primary message_send logic goes here
>     # . . .
> 
>     if success:
>         return HttpResponseRedirect('/message/success/')
>     else:
>         if failed_this_way:
>             return HttpResponseRedirect(
>                 '/message/failed/this_way')
>         if failed_that_way:
>             return HttpResponseRedirect(
>                 '/message/failed/that_way')
>         else failed_spectacularly:
>             return HttpResponseRedirect(
>                 '/message/failed/spectacularly')
> 

Or use the messages system from django.contrib.auth:
http://www.djangoproject.com/documentation/authentication/#messages



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to