Corrected penfield migration which introduces the feed_type column. Switched Navigati...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 9 Feb 2011 21:34:58 +0000 (16:34 -0500)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 9 Feb 2011 21:34:58 +0000 (16:34 -0500)
commitd0bfa7e89642d01cfa9204142a41d9f05efd4cb5
tree6deaeafe8bde1b4c6533bc3711bf353bfd91ce19
parenta79b7c9e4f8038db3795b482c78b2c6d7f64bebb
Corrected penfield migration which introduces the feed_type column. Switched NavigationManager.update_targets_for() method to search for node pks instead of doing a JOIN - should be more efficient. Added check for node id before updating the target_node; this was causing an unwanted KeyError in cases where the NavigationItem had no target node.
contrib/penfield/migrations/0003_auto__add_field_newsletterview_feed_type__add_field_newsletterview_ite.py
contrib/shipherd/models.py