On 12/11/06, sedat <[EMAIL PROTECTED]> wrote: > Nope. > Authentication is not an issue yet. > It is just an anonymous user adding info to system. > By the way I think I am misunderstood.I am giving a post_save_redirect > url. In this url I want to add a message."It is ok " or "It is not ok"
I think there's some conceptual confusion going on here. In a generic create/update/delete view, if the action is *not* successful, the generic view will not be redirecting anywhere -- it will instead be displaying error messages to the user and asking them to correct the input they're sending. Which means that if you use a redirect after save, you can safely display a success message -- that view will never be reached unless the generic view's action completed successfully. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---