Fix spelling of hierarchy; fix 'class-based'

It's written 'class-based' in the Django documentation, too.