{"action":"created","comment":{"url":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/comments/54102573","id":54102573,"diff_hunk":"@@ -10,91 +10,93 @@\n \n @python_2_unicode_compatible\n class Device(models.Model):\n-\tname = models.CharField(max_length=255, verbose_name=_(\"Name\"), blank=True, null=True)\n-\tactive = models.BooleanField(verbose_name=_(\"Is active\"), default=True,\n-\t\thelp_text=_(\"Inactive devices will not be sent notifications\"))\n-\tuser = models.ForeignKey(SETTINGS[\"USER_MODEL\"], blank=True, null=True)\n-\tdate_created = models.DateTimeField(verbose_name=_(\"Creation date\"), auto_now_add=True, null=True)\n+    name = models.CharField(max_length=255, verbose_name=_(\"Name\"), blank=True, null=True)","path":"push_notifications/models.py","position":9,"original_position":9,"commit_id":"6621cb5111d5fc89e1b10d50bb91632e0cdfc56d","original_commit_id":"6621cb5111d5fc89e1b10d50bb91632e0cdfc56d","user":{"login":"jamaalscarlett","id":7093153,"avatar_url":"https://avatars.githubusercontent.com/u/7093153?v=3","gravatar_id":"","url":"https://api.github.com/users/jamaalscarlett","html_url":"https://github.com/jamaalscarlett","followers_url":"https://api.github.com/users/jamaalscarlett/followers","following_url":"https://api.github.com/users/jamaalscarlett/following{/other_user}","gists_url":"https://api.github.com/users/jamaalscarlett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamaalscarlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamaalscarlett/subscriptions","organizations_url":"https://api.github.com/users/jamaalscarlett/orgs","repos_url":"https://api.github.com/users/jamaalscarlett/repos","events_url":"https://api.github.com/users/jamaalscarlett/events{/privacy}","received_events_url":"https://api.github.com/users/jamaalscarlett/received_events","type":"User","site_admin":false},"body":"This project uses tabs, not spaces.  Please see: [CONTRIBUTING.md](https://github.com/jleclanche/django-push-notifications/blob/master/CONTRIBUTING.md)","created_at":"2016-02-25T14:34:47Z","updated_at":"2016-02-25T14:34:47Z","html_url":"https://github.com/jleclanche/django-push-notifications/pull/282#discussion_r54102573","pull_request_url":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282","_links":{"self":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/comments/54102573"},"html":{"href":"https://github.com/jleclanche/django-push-notifications/pull/282#discussion_r54102573"},"pull_request":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282"}}},"pull_request":{"url":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282","id":60638309,"html_url":"https://github.com/jleclanche/django-push-notifications/pull/282","diff_url":"https://github.com/jleclanche/django-push-notifications/pull/282.diff","patch_url":"https://github.com/jleclanche/django-push-notifications/pull/282.patch","issue_url":"https://api.github.com/repos/jleclanche/django-push-notifications/issues/282","number":282,"state":"open","locked":false,"title":"#290 do not try to send any messages if registration_ids is empty","user":{"login":"gitfred","id":2721405,"avatar_url":"https://avatars.githubusercontent.com/u/2721405?v=3","gravatar_id":"","url":"https://api.github.com/users/gitfred","html_url":"https://github.com/gitfred","followers_url":"https://api.github.com/users/gitfred/followers","following_url":"https://api.github.com/users/gitfred/following{/other_user}","gists_url":"https://api.github.com/users/gitfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gitfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitfred/subscriptions","organizations_url":"https://api.github.com/users/gitfred/orgs","repos_url":"https://api.github.com/users/gitfred/repos","events_url":"https://api.github.com/users/gitfred/events{/privacy}","received_events_url":"https://api.github.com/users/gitfred/received_events","type":"User","site_admin":false},"body":"also test added","created_at":"2016-02-25T07:48:46Z","updated_at":"2016-02-25T14:34:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d12e6d316a4c5bd5c26d000dc74580950fb255fd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282/commits","review_comments_url":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282/comments","review_comment_url":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jleclanche/django-push-notifications/issues/282/comments","statuses_url":"https://api.github.com/repos/jleclanche/django-push-notifications/statuses/6621cb5111d5fc89e1b10d50bb91632e0cdfc56d","head":{"label":"gitfred:empty-reg-ids","ref":"empty-reg-ids","sha":"6621cb5111d5fc89e1b10d50bb91632e0cdfc56d","user":{"login":"gitfred","id":2721405,"avatar_url":"https://avatars.githubusercontent.com/u/2721405?v=3","gravatar_id":"","url":"https://api.github.com/users/gitfred","html_url":"https://github.com/gitfred","followers_url":"https://api.github.com/users/gitfred/followers","following_url":"https://api.github.com/users/gitfred/following{/other_user}","gists_url":"https://api.github.com/users/gitfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gitfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitfred/subscriptions","organizations_url":"https://api.github.com/users/gitfred/orgs","repos_url":"https://api.github.com/users/gitfred/repos","events_url":"https://api.github.com/users/gitfred/events{/privacy}","received_events_url":"https://api.github.com/users/gitfred/received_events","type":"User","site_admin":false},"repo":{"id":52506034,"name":"django-push-notifications","full_name":"gitfred/django-push-notifications","owner":{"login":"gitfred","id":2721405,"avatar_url":"https://avatars.githubusercontent.com/u/2721405?v=3","gravatar_id":"","url":"https://api.github.com/users/gitfred","html_url":"https://github.com/gitfred","followers_url":"https://api.github.com/users/gitfred/followers","following_url":"https://api.github.com/users/gitfred/following{/other_user}","gists_url":"https://api.github.com/users/gitfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gitfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitfred/subscriptions","organizations_url":"https://api.github.com/users/gitfred/orgs","repos_url":"https://api.github.com/users/gitfred/repos","events_url":"https://api.github.com/users/gitfred/events{/privacy}","received_events_url":"https://api.github.com/users/gitfred/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gitfred/django-push-notifications","description":"Send push notifications to mobile devices through GCM or APNS in Django.","fork":true,"url":"https://api.github.com/repos/gitfred/django-push-notifications","forks_url":"https://api.github.com/repos/gitfred/django-push-notifications/forks","keys_url":"https://api.github.com/repos/gitfred/django-push-notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitfred/django-push-notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitfred/django-push-notifications/teams","hooks_url":"https://api.github.com/repos/gitfred/django-push-notifications/hooks","issue_events_url":"https://api.github.com/repos/gitfred/django-push-notifications/issues/events{/number}","events_url":"https://api.github.com/repos/gitfred/django-push-notifications/events","assignees_url":"https://api.github.com/repos/gitfred/django-push-notifications/assignees{/user}","branches_url":"https://api.github.com/repos/gitfred/django-push-notifications/branches{/branch}","tags_url":"https://api.github.com/repos/gitfred/django-push-notifications/tags","blobs_url":"https://api.github.com/repos/gitfred/django-push-notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitfred/django-push-notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitfred/django-push-notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitfred/django-push-notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitfred/django-push-notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/gitfred/django-push-notifications/languages","stargazers_url":"https://api.github.com/repos/gitfred/django-push-notifications/stargazers","contributors_url":"https://api.github.com/repos/gitfred/django-push-notifications/contributors","subscribers_url":"https://api.github.com/repos/gitfred/django-push-notifications/subscribers","subscription_url":"https://api.github.com/repos/gitfred/django-push-notifications/subscription","commits_url":"https://api.github.com/repos/gitfred/django-push-notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitfred/django-push-notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitfred/django-push-notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitfred/django-push-notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/gitfred/django-push-notifications/contents/{+path}","compare_url":"https://api.github.com/repos/gitfred/django-push-notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitfred/django-push-notifications/merges","archive_url":"https://api.github.com/repos/gitfred/django-push-notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitfred/django-push-notifications/downloads","issues_url":"https://api.github.com/repos/gitfred/django-push-notifications/issues{/number}","pulls_url":"https://api.github.com/repos/gitfred/django-push-notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/gitfred/django-push-notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/gitfred/django-push-notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitfred/django-push-notifications/labels{/name}","releases_url":"https://api.github.com/repos/gitfred/django-push-notifications/releases{/id}","deployments_url":"https://api.github.com/repos/gitfred/django-push-notifications/deployments","created_at":"2016-02-25T07:37:56Z","updated_at":"2016-02-25T07:37:58Z","pushed_at":"2016-02-25T07:48:29Z","git_url":"git://github.com/gitfred/django-push-notifications.git","ssh_url":"git@github.com:gitfred/django-push-notifications.git","clone_url":"https://github.com/gitfred/django-push-notifications.git","svn_url":"https://github.com/gitfred/django-push-notifications","homepage":null,"size":228,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jleclanche:master","ref":"master","sha":"9d24fc6d54f061828b52467a96606d0d0690aa97","user":{"login":"jleclanche","id":235410,"avatar_url":"https://avatars.githubusercontent.com/u/235410?v=3","gravatar_id":"","url":"https://api.github.com/users/jleclanche","html_url":"https://github.com/jleclanche","followers_url":"https://api.github.com/users/jleclanche/followers","following_url":"https://api.github.com/users/jleclanche/following{/other_user}","gists_url":"https://api.github.com/users/jleclanche/gists{/gist_id}","starred_url":"https://api.github.com/users/jleclanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleclanche/subscriptions","organizations_url":"https://api.github.com/users/jleclanche/orgs","repos_url":"https://api.github.com/users/jleclanche/repos","events_url":"https://api.github.com/users/jleclanche/events{/privacy}","received_events_url":"https://api.github.com/users/jleclanche/received_events","type":"User","site_admin":false},"repo":{"id":8788941,"name":"django-push-notifications","full_name":"jleclanche/django-push-notifications","owner":{"login":"jleclanche","id":235410,"avatar_url":"https://avatars.githubusercontent.com/u/235410?v=3","gravatar_id":"","url":"https://api.github.com/users/jleclanche","html_url":"https://github.com/jleclanche","followers_url":"https://api.github.com/users/jleclanche/followers","following_url":"https://api.github.com/users/jleclanche/following{/other_user}","gists_url":"https://api.github.com/users/jleclanche/gists{/gist_id}","starred_url":"https://api.github.com/users/jleclanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleclanche/subscriptions","organizations_url":"https://api.github.com/users/jleclanche/orgs","repos_url":"https://api.github.com/users/jleclanche/repos","events_url":"https://api.github.com/users/jleclanche/events{/privacy}","received_events_url":"https://api.github.com/users/jleclanche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jleclanche/django-push-notifications","description":"Send push notifications to mobile devices through GCM or APNS in Django.","fork":false,"url":"https://api.github.com/repos/jleclanche/django-push-notifications","forks_url":"https://api.github.com/repos/jleclanche/django-push-notifications/forks","keys_url":"https://api.github.com/repos/jleclanche/django-push-notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jleclanche/django-push-notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jleclanche/django-push-notifications/teams","hooks_url":"https://api.github.com/repos/jleclanche/django-push-notifications/hooks","issue_events_url":"https://api.github.com/repos/jleclanche/django-push-notifications/issues/events{/number}","events_url":"https://api.github.com/repos/jleclanche/django-push-notifications/events","assignees_url":"https://api.github.com/repos/jleclanche/django-push-notifications/assignees{/user}","branches_url":"https://api.github.com/repos/jleclanche/django-push-notifications/branches{/branch}","tags_url":"https://api.github.com/repos/jleclanche/django-push-notifications/tags","blobs_url":"https://api.github.com/repos/jleclanche/django-push-notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jleclanche/django-push-notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jleclanche/django-push-notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/jleclanche/django-push-notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jleclanche/django-push-notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/jleclanche/django-push-notifications/languages","stargazers_url":"https://api.github.com/repos/jleclanche/django-push-notifications/stargazers","contributors_url":"https://api.github.com/repos/jleclanche/django-push-notifications/contributors","subscribers_url":"https://api.github.com/repos/jleclanche/django-push-notifications/subscribers","subscription_url":"https://api.github.com/repos/jleclanche/django-push-notifications/subscription","commits_url":"https://api.github.com/repos/jleclanche/django-push-notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/jleclanche/django-push-notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/jleclanche/django-push-notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/jleclanche/django-push-notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/jleclanche/django-push-notifications/contents/{+path}","compare_url":"https://api.github.com/repos/jleclanche/django-push-notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jleclanche/django-push-notifications/merges","archive_url":"https://api.github.com/repos/jleclanche/django-push-notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jleclanche/django-push-notifications/downloads","issues_url":"https://api.github.com/repos/jleclanche/django-push-notifications/issues{/number}","pulls_url":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/jleclanche/django-push-notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/jleclanche/django-push-notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jleclanche/django-push-notifications/labels{/name}","releases_url":"https://api.github.com/repos/jleclanche/django-push-notifications/releases{/id}","deployments_url":"https://api.github.com/repos/jleclanche/django-push-notifications/deployments","created_at":"2013-03-15T00:57:33Z","updated_at":"2016-02-24T17:08:58Z","pushed_at":"2016-02-25T07:48:46Z","git_url":"git://github.com/jleclanche/django-push-notifications.git","ssh_url":"git@github.com:jleclanche/django-push-notifications.git","clone_url":"https://github.com/jleclanche/django-push-notifications.git","svn_url":"https://github.com/jleclanche/django-push-notifications","homepage":null,"size":402,"stargazers_count":639,"watchers_count":639,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":218,"mirror_url":null,"open_issues_count":45,"forks":218,"open_issues":45,"watchers":639,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282"},"html":{"href":"https://github.com/jleclanche/django-push-notifications/pull/282"},"issue":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/issues/282"},"comments":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/issues/282/comments"},"review_comments":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282/comments"},"review_comment":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/pulls/282/commits"},"statuses":{"href":"https://api.github.com/repos/jleclanche/django-push-notifications/statuses/6621cb5111d5fc89e1b10d50bb91632e0cdfc56d"}}}}