{"action":"created","issue":{"url":"https://api.github.com/repos/etianen/django-watson/issues/100","labels_url":"https://api.github.com/repos/etianen/django-watson/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/etianen/django-watson/issues/100/comments","events_url":"https://api.github.com/repos/etianen/django-watson/issues/100/events","html_url":"https://github.com/etianen/django-watson/issues/100","id":59753091,"number":100,"title":"Adding Pagination","user":{"login":"crackjack","id":191368,"avatar_url":"https://avatars.githubusercontent.com/u/191368?v=3","gravatar_id":"","url":"https://api.github.com/users/crackjack","html_url":"https://github.com/crackjack","followers_url":"https://api.github.com/users/crackjack/followers","following_url":"https://api.github.com/users/crackjack/following{/other_user}","gists_url":"https://api.github.com/users/crackjack/gists{/gist_id}","starred_url":"https://api.github.com/users/crackjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crackjack/subscriptions","organizations_url":"https://api.github.com/users/crackjack/orgs","repos_url":"https://api.github.com/users/crackjack/repos","events_url":"https://api.github.com/users/crackjack/events{/privacy}","received_events_url":"https://api.github.com/users/crackjack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T05:44:45Z","updated_at":"2015-03-04T17:00:20Z","closed_at":null,"body":"As per the wiki, it has been stated that paginate_by followed by an integer is to be used for pagination.\r\n\r\nBut, I can't find a place where I could use that. Can you please show me a reference of whether it is a global thing, or I need to do it for every model?\r\n\r\nRegards."},"comment":{"url":"https://api.github.com/repos/etianen/django-watson/issues/comments/77197920","html_url":"https://github.com/etianen/django-watson/issues/100#issuecomment-77197920","issue_url":"https://api.github.com/repos/etianen/django-watson/issues/100","id":77197920,"user":{"login":"etianen","id":148744,"avatar_url":"https://avatars.githubusercontent.com/u/148744?v=3","gravatar_id":"","url":"https://api.github.com/users/etianen","html_url":"https://github.com/etianen","followers_url":"https://api.github.com/users/etianen/followers","following_url":"https://api.github.com/users/etianen/following{/other_user}","gists_url":"https://api.github.com/users/etianen/gists{/gist_id}","starred_url":"https://api.github.com/users/etianen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etianen/subscriptions","organizations_url":"https://api.github.com/users/etianen/orgs","repos_url":"https://api.github.com/users/etianen/repos","events_url":"https://api.github.com/users/etianen/events{/privacy}","received_events_url":"https://api.github.com/users/etianen/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T17:00:20Z","updated_at":"2015-03-04T17:00:20Z","body":"When you include the watson urls, add a kwargs={\"paginate_by\"=20} to the url().\n\nSomething like:\n\nurl(\"^search/\", include(\"watson.urls\"), kwargs={})\n\n\n\n> On 4 Mar 2015, at 05:44, Nitesh Rijal <notifications@github.com> wrote:\n> \n> As per the wiki, it has been stated that paginate_by followed by an integer is to be used for pagination.\n> \n> But, I can't find a place where I could use that. Can you please show me a reference of whether it is a global thing, or I need to do it for every model?\n> \n> Regards.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}