Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2207 closed enhancement (wontfix)

[patch] post_add_manipulator_save and post_change_manipulator_save signals

Reported by: Rajesh Dhawan <rajesh.dhawan@…> Owned by: adrian
Component: Core (Other) Version: master
Severity: normal Keywords: dispatcher signal
Cc: rajesh.dhawan@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This patch adds two new signals: post_add_manipulator_save and post_change_manipulator_save. They are called from the django.db.models.manipulators.AutomaticManipulator save method, after the manipulator fully saves or changes a model and its related objects and files.

Unlike the regular post_save signal, these signals are called after all the related models and FileField/ImageField objects of the models have been fully saved to the database and filesystem. Therefore, these signals can be used to, for example, create thumbnails of ImageFields.

Attachments (1)

add_change_manipulators_patch.diff (1.2 KB) - added by Rajesh Dhawan <rajesh.dhawan@…> 9 years ago.
Add/change manipulator patch

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by Rajesh Dhawan <rajesh.dhawan@…>

Add/change manipulator patch

comment:1 Changed 9 years ago by Rajesh Dhawan <rajesh.dhawan@…>

  • priority changed from normal to low
  • Version changed from magic-removal to SVN

comment:2 Changed 9 years ago by Rajesh Dhawan <rajesh.dhawan@…>

  • Cc rajesh.dhawan@… added

comment:3 Changed 9 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed

Because the automatic manipulators (in their current form) are going away before 1.0, there's no point in adding this to Django.

comment:4 Changed 9 years ago by rajesh

Adrian, that's good news! Is there anywhere I can pick up discussions on these upcoming changes as I am very interested in this area of Django for a couple of my projects? Tried searching on the users and dev group archives before deciding to bother you with this. Thanks.

Note: See TracTickets for help on using tickets.
Back to Top