{"action":"created","issue":{"url":"https://api.github.com/repos/nephila/djangocms-blog/issues/184","repository_url":"https://api.github.com/repos/nephila/djangocms-blog","labels_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/184/comments","events_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/184/events","html_url":"https://github.com/nephila/djangocms-blog/issues/184","id":123592859,"number":184,"title":"Cannot view blog posts: 'NoneType' object has no attribute 'paginate_by'","user":{"login":"sedrubal","id":5571650,"avatar_url":"https://avatars.githubusercontent.com/u/5571650?v=3","gravatar_id":"","url":"https://api.github.com/users/sedrubal","html_url":"https://github.com/sedrubal","followers_url":"https://api.github.com/users/sedrubal/followers","following_url":"https://api.github.com/users/sedrubal/following{/other_user}","gists_url":"https://api.github.com/users/sedrubal/gists{/gist_id}","starred_url":"https://api.github.com/users/sedrubal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedrubal/subscriptions","organizations_url":"https://api.github.com/users/sedrubal/orgs","repos_url":"https://api.github.com/users/sedrubal/repos","events_url":"https://api.github.com/users/sedrubal/events{/privacy}","received_events_url":"https://api.github.com/users/sedrubal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-12-23T02:33:20Z","updated_at":"2016-02-10T20:39:54Z","closed_at":null,"body":"When I add some blog posts I always get errors... This time it's this error:\r\n\r\n```\r\nAttributeError at /de/\r\n\r\n'NoneType' object has no attribute 'paginate_by'\r\n\r\nRequest Method: \tGET\r\nRequest URL: \thttp://localhost:8000/de/\r\nDjango Version: \t1.8.7\r\nException Type: \tAttributeError\r\nException Value: \t\r\n\r\n'NoneType' object has no attribute 'paginate_by'\r\n\r\nException Location: \t/venv/lib/python3.4/site-packages/djangocms_blog/views.py in get_paginate_by, line 66\r\n```\r\n\r\n### OS:\r\n\r\n`Fedora:23`\r\n\r\n### Details about local setup:\r\n\r\nIt's [this project](https://github.com/fau-fablab/website/tree/djangocms_blog). If you want you can inspect all files and even run the docker container...\r\n\r\n- django `1.8.7`\r\n- djangocms `3.2.0`\r\n- djangocms blog `0.3.6`\r\n- packages from pypi\r\n- python 3\r\n- virtual environment\r\n\r\n### Steps to reproduce:\r\n\r\nIt's hard to describe as I have done this steps some times and everything an other error occurred.\r\n\r\n- I installed djangocms as described in the docs (I think)\r\n- I moved the blog to the top in the admins view so that it appears under `http://mysite.com/`\r\n- I added two blog posts in admin view\r\n- I navigated to `/` and got the error\r\n\r\nMerry christmas ;) :christmas_tree: :santa: "},"comment":{"url":"https://api.github.com/repos/nephila/djangocms-blog/issues/comments/182574409","html_url":"https://github.com/nephila/djangocms-blog/issues/184#issuecomment-182574409","issue_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/184","id":182574409,"user":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T20:39:54Z","updated_at":"2016-02-10T20:39:54Z","body":"@ondrejsika thanks for the great information, namespace for djangocms_blog_blogconfig does not match the one that come from the request, thus I guess there is something wrong in the CMS / apphook config.\r\nHow about the content of the  ``cms_page`` table for the page to which the blog is attached to (``select * from cms_page where application_urls='BlogApp'``)?\r\nIn the meanwhile, by changing the namespace to ``djangocms_blog`` everything should work"}}