{"action":"created","comment":{"url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/comments/34018226","id":34018226,"diff_hunk":"@@ -22,7 +22,7 @@ def make_published(modeladmin, request, queryset):\n \n ","path":"jobs/admin.py","position":2,"original_position":2,"commit_id":"70a9dd6cbd64a56fa6c98bc44c7ae710ba540070","original_commit_id":"70a9dd6cbd64a56fa6c98bc44c7ae710ba540070","user":{"login":"rebkwok","id":6770950,"avatar_url":"https://avatars.githubusercontent.com/u/6770950?v=3","gravatar_id":"","url":"https://api.github.com/users/rebkwok","html_url":"https://github.com/rebkwok","followers_url":"https://api.github.com/users/rebkwok/followers","following_url":"https://api.github.com/users/rebkwok/following{/other_user}","gists_url":"https://api.github.com/users/rebkwok/gists{/gist_id}","starred_url":"https://api.github.com/users/rebkwok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebkwok/subscriptions","organizations_url":"https://api.github.com/users/rebkwok/orgs","repos_url":"https://api.github.com/users/rebkwok/repos","events_url":"https://api.github.com/users/rebkwok/events{/privacy}","received_events_url":"https://api.github.com/users/rebkwok/received_events","type":"User","site_admin":false},"body":"Please change the import statements to use django.conf\r\n```\r\nfrom djangogirls.settings import JOBS_EMAIL_USER, JOBS_EMAIL_PASSWORD\r\nfrom djangogirls.settings import MEETUPS_EMAIL_PASSWORD, MEETUPS_EMAIL_USER\r\n```\r\n\r\nchange to\r\n```\r\nfrom django.conf import settings\r\n```\r\n\r\nIf you don't want to change the code to refer to e.g. settings.MEETUPS_EMAIL_PASSWORD, just add under the import statements\r\n```\r\nMEETUPS_EMAIL_PASSWORD = settings.MEETUPS_EMAIL_PASSWORD\r\n```\r\netc\r\n\r\nThis way the correct settings will be imported irrespective of which particular settings file is being used.\r\n","created_at":"2015-07-07T08:36:51Z","updated_at":"2015-07-07T08:36:51Z","html_url":"https://github.com/djangogirlsjobs/djangogirls/pull/39#discussion_r34018226","pull_request_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/comments/34018226"},"html":{"href":"https://github.com/djangogirlsjobs/djangogirls/pull/39#discussion_r34018226"},"pull_request":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39","id":39212752,"html_url":"https://github.com/djangogirlsjobs/djangogirls/pull/39","diff_url":"https://github.com/djangogirlsjobs/djangogirls/pull/39.diff","patch_url":"https://github.com/djangogirlsjobs/djangogirls/pull/39.patch","issue_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/39","number":39,"state":"open","locked":false,"title":"Resolving #33 and #38, refactoring admin, first test in admin","user":{"login":"MarysiaLowas","id":8274152,"avatar_url":"https://avatars.githubusercontent.com/u/8274152?v=3","gravatar_id":"","url":"https://api.github.com/users/MarysiaLowas","html_url":"https://github.com/MarysiaLowas","followers_url":"https://api.github.com/users/MarysiaLowas/followers","following_url":"https://api.github.com/users/MarysiaLowas/following{/other_user}","gists_url":"https://api.github.com/users/MarysiaLowas/gists{/gist_id}","starred_url":"https://api.github.com/users/MarysiaLowas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarysiaLowas/subscriptions","organizations_url":"https://api.github.com/users/MarysiaLowas/orgs","repos_url":"https://api.github.com/users/MarysiaLowas/repos","events_url":"https://api.github.com/users/MarysiaLowas/events{/privacy}","received_events_url":"https://api.github.com/users/MarysiaLowas/received_events","type":"User","site_admin":false},"body":"In this commit, I've made the following changes:\r\n- Removed the lorem ipsum tags from meetup_details and job_details\r\n- Moved the intro text in job_edit and meetup_edit about the form panel\r\n- Added the heading to job_edit and meetup_edit\r\n- Added 'jobs' to coverage\r\n- Refactored the admin models - I've created the base PublishFlowModelAdmin model which contains all the flow logic. It's quite similar to  a solution for jobs.models.py\r\n- Refactored jobs.models.py to use _meta.model_name instead of a hard-coded string\r\n- Resolved #33 - it is still possible to re-publish an expired post but the expiration_date is reset\r\n- Added the first test for the jobs admin site\r\n","created_at":"2015-07-04T20:42:57Z","updated_at":"2015-07-07T08:36:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27f7e213d77ef3f8178a11b2615c21147735ab1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39/commits","review_comments_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39/comments","review_comment_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/39/comments","statuses_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/statuses/70a9dd6cbd64a56fa6c98bc44c7ae710ba540070","head":{"label":"MarysiaLowas:master","ref":"master","sha":"70a9dd6cbd64a56fa6c98bc44c7ae710ba540070","user":{"login":"MarysiaLowas","id":8274152,"avatar_url":"https://avatars.githubusercontent.com/u/8274152?v=3","gravatar_id":"","url":"https://api.github.com/users/MarysiaLowas","html_url":"https://github.com/MarysiaLowas","followers_url":"https://api.github.com/users/MarysiaLowas/followers","following_url":"https://api.github.com/users/MarysiaLowas/following{/other_user}","gists_url":"https://api.github.com/users/MarysiaLowas/gists{/gist_id}","starred_url":"https://api.github.com/users/MarysiaLowas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarysiaLowas/subscriptions","organizations_url":"https://api.github.com/users/MarysiaLowas/orgs","repos_url":"https://api.github.com/users/MarysiaLowas/repos","events_url":"https://api.github.com/users/MarysiaLowas/events{/privacy}","received_events_url":"https://api.github.com/users/MarysiaLowas/received_events","type":"User","site_admin":false},"repo":{"id":28883891,"name":"djangogirls","full_name":"MarysiaLowas/djangogirls","owner":{"login":"MarysiaLowas","id":8274152,"avatar_url":"https://avatars.githubusercontent.com/u/8274152?v=3","gravatar_id":"","url":"https://api.github.com/users/MarysiaLowas","html_url":"https://github.com/MarysiaLowas","followers_url":"https://api.github.com/users/MarysiaLowas/followers","following_url":"https://api.github.com/users/MarysiaLowas/following{/other_user}","gists_url":"https://api.github.com/users/MarysiaLowas/gists{/gist_id}","starred_url":"https://api.github.com/users/MarysiaLowas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarysiaLowas/subscriptions","organizations_url":"https://api.github.com/users/MarysiaLowas/orgs","repos_url":"https://api.github.com/users/MarysiaLowas/repos","events_url":"https://api.github.com/users/MarysiaLowas/events{/privacy}","received_events_url":"https://api.github.com/users/MarysiaLowas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarysiaLowas/djangogirls","description":"Website for DjangoGirls.org","fork":true,"url":"https://api.github.com/repos/MarysiaLowas/djangogirls","forks_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/forks","keys_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/teams","hooks_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/hooks","issue_events_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/issues/events{/number}","events_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/events","assignees_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/assignees{/user}","branches_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/branches{/branch}","tags_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/tags","blobs_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/statuses/{sha}","languages_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/languages","stargazers_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/stargazers","contributors_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/contributors","subscribers_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/subscribers","subscription_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/subscription","commits_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/contents/{+path}","compare_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/merges","archive_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/downloads","issues_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/issues{/number}","pulls_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/pulls{/number}","milestones_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/milestones{/number}","notifications_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/labels{/name}","releases_url":"https://api.github.com/repos/MarysiaLowas/djangogirls/releases{/id}","created_at":"2015-01-06T21:14:38Z","updated_at":"2015-05-02T09:45:48Z","pushed_at":"2015-07-06T19:22:22Z","git_url":"git://github.com/MarysiaLowas/djangogirls.git","ssh_url":"git@github.com:MarysiaLowas/djangogirls.git","clone_url":"https://github.com/MarysiaLowas/djangogirls.git","svn_url":"https://github.com/MarysiaLowas/djangogirls","homepage":"http://djangogirls.org/","size":57569,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"djangogirlsjobs:master","ref":"master","sha":"98b78fa6b9ed52407754ff757beef0b2f10008ec","user":{"login":"djangogirlsjobs","id":10426055,"avatar_url":"https://avatars.githubusercontent.com/u/10426055?v=3","gravatar_id":"","url":"https://api.github.com/users/djangogirlsjobs","html_url":"https://github.com/djangogirlsjobs","followers_url":"https://api.github.com/users/djangogirlsjobs/followers","following_url":"https://api.github.com/users/djangogirlsjobs/following{/other_user}","gists_url":"https://api.github.com/users/djangogirlsjobs/gists{/gist_id}","starred_url":"https://api.github.com/users/djangogirlsjobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djangogirlsjobs/subscriptions","organizations_url":"https://api.github.com/users/djangogirlsjobs/orgs","repos_url":"https://api.github.com/users/djangogirlsjobs/repos","events_url":"https://api.github.com/users/djangogirlsjobs/events{/privacy}","received_events_url":"https://api.github.com/users/djangogirlsjobs/received_events","type":"Organization","site_admin":false},"repo":{"id":28883258,"name":"djangogirls","full_name":"djangogirlsjobs/djangogirls","owner":{"login":"djangogirlsjobs","id":10426055,"avatar_url":"https://avatars.githubusercontent.com/u/10426055?v=3","gravatar_id":"","url":"https://api.github.com/users/djangogirlsjobs","html_url":"https://github.com/djangogirlsjobs","followers_url":"https://api.github.com/users/djangogirlsjobs/followers","following_url":"https://api.github.com/users/djangogirlsjobs/following{/other_user}","gists_url":"https://api.github.com/users/djangogirlsjobs/gists{/gist_id}","starred_url":"https://api.github.com/users/djangogirlsjobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djangogirlsjobs/subscriptions","organizations_url":"https://api.github.com/users/djangogirlsjobs/orgs","repos_url":"https://api.github.com/users/djangogirlsjobs/repos","events_url":"https://api.github.com/users/djangogirlsjobs/events{/privacy}","received_events_url":"https://api.github.com/users/djangogirlsjobs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/djangogirlsjobs/djangogirls","description":"Website for DjangoGirls.org","fork":true,"url":"https://api.github.com/repos/djangogirlsjobs/djangogirls","forks_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/forks","keys_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/teams","hooks_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/hooks","issue_events_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/events{/number}","events_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/events","assignees_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/assignees{/user}","branches_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/branches{/branch}","tags_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/tags","blobs_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/git/refs{/sha}","trees_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/statuses/{sha}","languages_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/languages","stargazers_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/stargazers","contributors_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/contributors","subscribers_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/subscribers","subscription_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/subscription","commits_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/commits{/sha}","git_commits_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/git/commits{/sha}","comments_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/comments{/number}","issue_comment_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/comments{/number}","contents_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/contents/{+path}","compare_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/merges","archive_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/downloads","issues_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues{/number}","pulls_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls{/number}","milestones_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/milestones{/number}","notifications_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/labels{/name}","releases_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/releases{/id}","created_at":"2015-01-06T20:58:42Z","updated_at":"2015-05-03T23:38:57Z","pushed_at":"2015-07-06T19:22:23Z","git_url":"git://github.com/djangogirlsjobs/djangogirls.git","ssh_url":"git@github.com:djangogirlsjobs/djangogirls.git","clone_url":"https://github.com/djangogirlsjobs/djangogirls.git","svn_url":"https://github.com/djangogirlsjobs/djangogirls","homepage":"http://djangogirls.org/","size":57866,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39"},"html":{"href":"https://github.com/djangogirlsjobs/djangogirls/pull/39"},"issue":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/39"},"comments":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/djangogirlsjobs/djangogirls/statuses/70a9dd6cbd64a56fa6c98bc44c7ae710ba540070"}}}}