{"action":"created","issue":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/1544","repository_url":"https://api.github.com/repos/mitodl/micromasters","labels_url":"https://api.github.com/repos/mitodl/micromasters/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/mitodl/micromasters/issues/1544/comments","events_url":"https://api.github.com/repos/mitodl/micromasters/issues/1544/events","html_url":"https://github.com/mitodl/micromasters/pull/1544","id":185177333,"number":1544,"title":"Use bulk indexing for seed_db","user":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitodl/micromasters/labels/Needs%20Review","name":"Needs Review","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"gsidebo","id":14932219,"avatar_url":"https://avatars.githubusercontent.com/u/14932219?v=3","gravatar_id":"","url":"https://api.github.com/users/gsidebo","html_url":"https://github.com/gsidebo","followers_url":"https://api.github.com/users/gsidebo/followers","following_url":"https://api.github.com/users/gsidebo/following{/other_user}","gists_url":"https://api.github.com/users/gsidebo/gists{/gist_id}","starred_url":"https://api.github.com/users/gsidebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsidebo/subscriptions","organizations_url":"https://api.github.com/users/gsidebo/orgs","repos_url":"https://api.github.com/users/gsidebo/repos","events_url":"https://api.github.com/users/gsidebo/events{/privacy}","received_events_url":"https://api.github.com/users/gsidebo/received_events","type":"User","site_admin":false},"assignees":[{"login":"gsidebo","id":14932219,"avatar_url":"https://avatars.githubusercontent.com/u/14932219?v=3","gravatar_id":"","url":"https://api.github.com/users/gsidebo","html_url":"https://github.com/gsidebo","followers_url":"https://api.github.com/users/gsidebo/followers","following_url":"https://api.github.com/users/gsidebo/following{/other_user}","gists_url":"https://api.github.com/users/gsidebo/gists{/gist_id}","starred_url":"https://api.github.com/users/gsidebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsidebo/subscriptions","organizations_url":"https://api.github.com/users/gsidebo/orgs","repos_url":"https://api.github.com/users/gsidebo/repos","events_url":"https://api.github.com/users/gsidebo/events{/privacy}","received_events_url":"https://api.github.com/users/gsidebo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-25T17:07:09Z","updated_at":"2016-10-26T14:34:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mitodl/micromasters/pulls/1544","html_url":"https://github.com/mitodl/micromasters/pull/1544","diff_url":"https://github.com/mitodl/micromasters/pull/1544.diff","patch_url":"https://github.com/mitodl/micromasters/pull/1544.patch"},"body":"#### What are the relevant tickets?\r\nNone\r\n\r\n#### What's this PR do?\r\nMutes the signals which index the profiles as they are created. Instead they are bulk indexed via `recreate_index` after all profiles are created.\r\n\r\n#### How should this be manually tested?\r\nRun `./manage.py seed_db --staff-user staff` and verify that you can see the profiles which are created in the learner search at `/learners`.\r\n\r\n#### Any background context you want to provide?\r\nThe `mute_signals` will also prevent profiles from being created automatically with the `User`, so there's a new `Profile.objects.create(...)` added to fix this.\r\n"},"comment":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/comments/256366501","html_url":"https://github.com/mitodl/micromasters/pull/1544#issuecomment-256366501","issue_url":"https://api.github.com/repos/mitodl/micromasters/issues/1544","id":256366501,"user":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T14:34:58Z","updated_at":"2016-10-26T14:34:58Z","body":"Any other comments?"}}
{"actor":{"display_login":"noisecapella"}}