I wish I understood this more.  With my newb hat on, I don't see how the comment relates to the code, but I guess that will come as I understand more of the mechanics.  These lines are repeated in the next diff (in views/item.py), perhaps they can be encapsulated in some way?