Get rid of some deprecated Django constructs
Practice: fix styles in horizontal view