Django updating a single model

Posted by Hellnar on Stack Overflow See other posts from Stack Overflow or by Hellnar
Published on 2011-01-04T08:25:11Z Indexed on 2011/01/04 8:54 UTC
Read the original article Hit count: 210

Filed under:
|

Hello How can I use the update() method on a single model which I retrieved via Queryset.get() ? It seems like model. Model doesn't have an update() method yet I cannot invoke .save() as I have a pre-save signals which messes things up.

EDIT: An idea would be passing some parameter to the save method and catching it at the pre_save signal, so that I can understand the purpose, how can this be done ?

Thanks

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models