Are the view files in "views" (incorrect) or "views/default" (correct)?
You don't need "response.generic_patterns = ['*'] " when you are creating view files. You can put "response.generic_patterns = ['*']" in db.py model file so that it applies to your whole app.

