Removed hardcoding of record.id hashing in Entity
commit472cd29469fa1f1582039b2a988ff4b868509b9c
authorcnu <srinivasanr@gmail.com>
Mon, 6 Jul 2009 09:41:36 +0000 (6 17:41 +0800)
committerBrandon Bickford <bran@dv8.org>
Mon, 6 Jul 2009 15:09:59 +0000 (6 23:09 +0800)
tree2f709d659e4e65c8b9adc01303387be134f070ea
parent98931046e844eda3b822d7d7f2af335a29b241a4
Removed hardcoding of record.id hashing in Entity

Entity class now also takes in shard class and uses the respective methods
to get the correct engine for the record.id
Fixes \#Num: #2

Signed-off-by: Brandon Bickford <bran@dv8.org>
waffle/shardstrategy.py
waffle/waffle.py