I'm considering using django properties on some models that are mostly 
tabulated numerical data.
I'm want to derive some numerical scores from some of the columns of data I'm 
using as input.
If I use properties for these derived scores, what is actually happening. Does 
Django put these into my models as fields and compute each score when a model 
instance is saved,
Or is simply calling the property function when I ask for the property?
Or is is evaluated when a query set is evaluated?
i am dealing with a large amount of data so efficiency is important
I may not need to score every row in my DB,
But being able to have indexed lookup by my derived scores would be nice
Should I define these scores as fields in my model to get them into the DB
Or will propterties do something like this for me?
Are properties anything else than python functions defined on a Class
Or does django build in some special functionality for them?
Doug

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


Reply via email to