snippets - part 3 - generic class based views