Issue with ManyToMany Relationships not updating inmediatly after save

2 views
Skip to first unread message

Diego Andrés Sanabria Martin (diegueus9)

unread,
Dec 17, 2009, 5:51:45 PM12/17/09
to django...@googlegroups.com
Hi,

I'ḿ having issues with ManytoMany Relationships that are not updating
in a model when I save it (via the admin) and try to use the new value within a
function attached to the post_save signal or within the save_model of
the associated AdminModel.
I've tried to reload the object within those functions by using the
get function with the id.. but it still has the old values.

Is this a transaction issue? Is there a signal throwed when the
transaction ends?

Thanks,

--
Diego Andrés Sanabria
Developer at monoku.com
about:me http://www.google.com/profiles/diegueus9
cel 3015290609

Ariel Nunez

unread,
Dec 17, 2009, 9:22:48 PM12/17/09
to django...@googlegroups.com
Diego,

Which version of Django are you using?

I remember a refactor of m2m landed recently as part of Alex's GSoC project. [1]

Just my 2 Colombian Pesos.
 

--

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



Reply all
Reply to author
Forward
0 new messages