Fixed #20890 -- Added missing import in class-based view docs.

Thanks André Augusto.