kercos / geomodel

Automatically exported from code.google.com/p/geomodel
0 stars 0 forks source link

make update_location automagically #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
please, consider DerivedProperty decorator at 
https://github.com/Arachnid/aetycoon
this allows very simply to describe:

@aetycoon.DerivedProperty
def geocells(self):
 "calculate geocells here instead of update_location"

This avoids the need to call update_location before saving.

Original issue reported on code.google.com by qwigly...@gmail.com on 13 Nov 2010 at 6:58