Thanks for the replys. The more I learn about Django, the more I start to
apreciate it. I still have a lot to learn, but compared with Drupal I
already feel more comfortable about Django because there is much more
control.
This is my second Django week, but sometimes I seem to get stuck at sim
On Jul 27, 1:53 pm, Josh wrote:
Daniel already answered, just a couple observations:
> 1. the id of the record is not known.
Given your question ("update (...) fields in a model", which I assume
mean : "update (...) fields in a model _instance_"), you obviously
know the pk either directly (pass
You already gave the answer. I just tried your solution and it worked. I
was trying a wrong approach and was making it much more complex than it
really is. My approach caused existing values to be overwritten by
Null-values and only inserting the new values.
Thanks for answering a newbie quest
On Wednesday, July 27, 2011 12:53:52 PM UTC+1, Josh wrote:
>
> I want to update only specific fields in a model and keep the old values in
> other fields. I've been working on this for a few days but I run out of
> possible solutions.As far as I can see from the documentation and internet
> the
4 matches
Mail list logo