You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be relatively simple to override the inherited put() method to
call update_location() and thus automatically update the geocell data every
time an entity is updated.
I realize this may not be ideal for all (or even many) uses of the
geomodel, but it could be turned off by default, and activated by setting a
class attribute to true, as in the attached diff.
Original issue reported on code.google.com by evan.kaufman on 8 Jan 2010 at 5:29
I've been thinking of doing this a different way, using Nick Johnson's
DerivedProperty
approach:
http://blog.notdot.net/2009/9/Custom-Datastore-Properties-1-DerivedProperty
Original issue reported on code.google.com by
evan.kaufman
on 8 Jan 2010 at 5:29Attachments:
The text was updated successfully, but these errors were encountered: