snippets - part 3 - class based views