Ticket #14017: 14017.diff

File 14017.diff, 716 bytes (added by fisadev, 8 years ago)
  • django/contrib/admin/options.py

    448448    def log_deletion(self, request, object, object_repr):
    449449        """
    450         Log that an object has been successfully deleted. Note that since the
    451         object is deleted, it might no longer be safe to call *any* methods
    452         on the object, hence this method getting object_repr.
     450        Log that an object will be deleted. Note that this method is called
     451        before the deletion.
    454453        The default implementation creates an admin LogEntry object.
    455454        """
Back to Top