Initial skeleton for an inventory view, plus a models.py fix or two.