pagination is haulted if response is not a TemplateResponse
Merge pull request #1 from chriscauley/master

pagination is haulted if response is not a TemplateResponse