I have a model where I need to calculate one of the fields when I create
a new instance. It seems to me that I should do this in the model code
and that I should override the new and/or create methods.
Is this the right approach and, if so, how can I execute the existing
method but add on my calculation?
I want something like:
-Do the original create first-
field = calculated_value
How do I call the original create method and use the parameters passed?
Also, should I be overriding new or create or both?
Thanks for any help.