Hi all,

I have a model (model Employee) and i want to each time that it is created 
/ saved to run a specific code block.
My specific code requires that the model is already saved in the database 
(i call an external API)
I can't use post_save signal , because the transaction is still pending 
(the database has not been updated).

What can i do? What is the most elegant way to create a (custom?) signal 
for after the save is complete? Can someone give an example?

many thanks,
Spiros

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c8a044bc-37ee-4f1b-91b3-f1309034f7d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to