Hm, as far I understood your question you did not yet understood how to make it in HTML? In HTML, every submit button will have name="" parameter, so when this button is pressed, you can check for the variable presense in your view. For example:
<form> ... <input type="submit" name="save" value="Save"> <input type="submit" name="save" value="Cancel"> </form> you your view: if request.has_key('save'): do_save_data(request.POST.copy()) elif request.has_key('cancel'): return HttpResponseRedirect('somewhere') else: raise ValueError, 'invalid key pressed' --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---