But by the way you field seem to be a sum of some others, maybe it should
not be a new field but just a new method returing the resulting calculation
depending of the attributes of your instance. No ?

On Thu, Aug 19, 2010 at 4:56 PM, bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:

> On 19 août, 16:25, Nick <nickt...@gmail.com> wrote:
> > You need to look at overriding the model's save method in order to add
> > data from one field to another dynamically.
>
> Useless denormalization (until proved otherwise of course...).
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

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

Reply via email to