Hi all! As I can see in the docs, django.views.generic.create_update.delete_object needs a post_delete_redirect parameter.
Isn't it possible to redirect to the referrer, if the parameter is not given? It would make sense IMHO. The other thing, that annoys me, that I cannot easily check permissions when deleting objects. I would except the delete_object (and maybe update_object) to accept a model method, which will decide, wheter the deletion is allowed, after it loads the object. What do you think? Gergo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---