Modified Django models to store metrics