{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/mozillians/pulls/comments/79155348","id":79155348,"diff_hunk":"@@ -42,6 +44,17 @@ def async_data_export(file_format, values_list, qs_model, filename):\n \n \n class S3ExportMixin(ExportMixin):\n+\n+    def get_export_filename(self, file_format):\n+        query_string = self.request.GET.urlencode().replace('=', '_')\n+        if query_string == '':\n+            query_string = 'All'\n+        date_str = datetime.now().strftime('%Y-%m-%d-%H-%m-%s')","path":"mozillians/common/mixins.py","position":15,"original_position":15,"commit_id":"e375301e157200fc17b56e6f38f288d0e4cb98d9","original_commit_id":"e375301e157200fc17b56e6f38f288d0e4cb98d9","user":{"login":"johngian","id":835321,"avatar_url":"https://avatars.githubusercontent.com/u/835321?v=3","gravatar_id":"","url":"https://api.github.com/users/johngian","html_url":"https://github.com/johngian","followers_url":"https://api.github.com/users/johngian/followers","following_url":"https://api.github.com/users/johngian/following{/other_user}","gists_url":"https://api.github.com/users/johngian/gists{/gist_id}","starred_url":"https://api.github.com/users/johngian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngian/subscriptions","organizations_url":"https://api.github.com/users/johngian/orgs","repos_url":"https://api.github.com/users/johngian/repos","events_url":"https://api.github.com/users/johngian/events{/privacy}","received_events_url":"https://api.github.com/users/johngian/received_events","type":"User","site_admin":false},"body":"Please change that format to:\r\n```\r\ndate_str = datetime.now().strftime('%Y-%m-%d-%H:%m:%s')\r\n```\r\n","created_at":"2016-09-16T12:04:57Z","updated_at":"2016-09-16T12:04:57Z","html_url":"https://github.com/mozilla/mozillians/pull/1513#discussion_r79155348","pull_request_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1513","_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/comments/79155348"},"html":{"href":"https://github.com/mozilla/mozillians/pull/1513#discussion_r79155348"},"pull_request":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1513"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/mozillians/pulls/1513","id":85243840,"html_url":"https://github.com/mozilla/mozillians/pull/1513","diff_url":"https://github.com/mozilla/mozillians/pull/1513.diff","patch_url":"https://github.com/mozilla/mozillians/pull/1513.patch","issue_url":"https://api.github.com/repos/mozilla/mozillians/issues/1513","number":1513,"state":"open","locked":false,"title":"[fix bug 1302415] Use more descriptive filenames in admin exports.","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-14T14:57:10Z","updated_at":"2016-09-16T12:18:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d6a79c680e8adee1bdf2d4e9a09d50a96adb578","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1513/commits","review_comments_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1513/comments","review_comment_url":"https://api.github.com/repos/mozilla/mozillians/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/mozillians/issues/1513/comments","statuses_url":"https://api.github.com/repos/mozilla/mozillians/statuses/e375301e157200fc17b56e6f38f288d0e4cb98d9","head":{"label":"akatsoulas:1302415-change-export-filename","ref":"1302415-change-export-filename","sha":"e375301e157200fc17b56e6f38f288d0e4cb98d9","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"repo":{"id":9349413,"name":"mozillians","full_name":"akatsoulas/mozillians","owner":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akatsoulas/mozillians","description":"Mozilla community directory -- A centralized directory of all Mozilla contributors!","fork":true,"url":"https://api.github.com/repos/akatsoulas/mozillians","forks_url":"https://api.github.com/repos/akatsoulas/mozillians/forks","keys_url":"https://api.github.com/repos/akatsoulas/mozillians/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akatsoulas/mozillians/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akatsoulas/mozillians/teams","hooks_url":"https://api.github.com/repos/akatsoulas/mozillians/hooks","issue_events_url":"https://api.github.com/repos/akatsoulas/mozillians/issues/events{/number}","events_url":"https://api.github.com/repos/akatsoulas/mozillians/events","assignees_url":"https://api.github.com/repos/akatsoulas/mozillians/assignees{/user}","branches_url":"https://api.github.com/repos/akatsoulas/mozillians/branches{/branch}","tags_url":"https://api.github.com/repos/akatsoulas/mozillians/tags","blobs_url":"https://api.github.com/repos/akatsoulas/mozillians/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akatsoulas/mozillians/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akatsoulas/mozillians/git/refs{/sha}","trees_url":"https://api.github.com/repos/akatsoulas/mozillians/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akatsoulas/mozillians/statuses/{sha}","languages_url":"https://api.github.com/repos/akatsoulas/mozillians/languages","stargazers_url":"https://api.github.com/repos/akatsoulas/mozillians/stargazers","contributors_url":"https://api.github.com/repos/akatsoulas/mozillians/contributors","subscribers_url":"https://api.github.com/repos/akatsoulas/mozillians/subscribers","subscription_url":"https://api.github.com/repos/akatsoulas/mozillians/subscription","commits_url":"https://api.github.com/repos/akatsoulas/mozillians/commits{/sha}","git_commits_url":"https://api.github.com/repos/akatsoulas/mozillians/git/commits{/sha}","comments_url":"https://api.github.com/repos/akatsoulas/mozillians/comments{/number}","issue_comment_url":"https://api.github.com/repos/akatsoulas/mozillians/issues/comments{/number}","contents_url":"https://api.github.com/repos/akatsoulas/mozillians/contents/{+path}","compare_url":"https://api.github.com/repos/akatsoulas/mozillians/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akatsoulas/mozillians/merges","archive_url":"https://api.github.com/repos/akatsoulas/mozillians/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akatsoulas/mozillians/downloads","issues_url":"https://api.github.com/repos/akatsoulas/mozillians/issues{/number}","pulls_url":"https://api.github.com/repos/akatsoulas/mozillians/pulls{/number}","milestones_url":"https://api.github.com/repos/akatsoulas/mozillians/milestones{/number}","notifications_url":"https://api.github.com/repos/akatsoulas/mozillians/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akatsoulas/mozillians/labels{/name}","releases_url":"https://api.github.com/repos/akatsoulas/mozillians/releases{/id}","deployments_url":"https://api.github.com/repos/akatsoulas/mozillians/deployments","created_at":"2013-04-10T15:34:24Z","updated_at":"2015-04-27T09:37:22Z","pushed_at":"2016-09-15T11:32:45Z","git_url":"git://github.com/akatsoulas/mozillians.git","ssh_url":"git@github.com:akatsoulas/mozillians.git","clone_url":"https://github.com/akatsoulas/mozillians.git","svn_url":"https://github.com/akatsoulas/mozillians","homepage":"https://mozillians.org/","size":32194,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"5afdba16f67683a69c34844ce7c67efaf1f64ee3","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1799884,"name":"mozillians","full_name":"mozilla/mozillians","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/mozillians","description":"Mozilla community directory -- A centralized directory of all Mozilla contributors!","fork":false,"url":"https://api.github.com/repos/mozilla/mozillians","forks_url":"https://api.github.com/repos/mozilla/mozillians/forks","keys_url":"https://api.github.com/repos/mozilla/mozillians/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mozillians/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mozillians/teams","hooks_url":"https://api.github.com/repos/mozilla/mozillians/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mozillians/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mozillians/events","assignees_url":"https://api.github.com/repos/mozilla/mozillians/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mozillians/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mozillians/tags","blobs_url":"https://api.github.com/repos/mozilla/mozillians/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mozillians/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mozillians/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mozillians/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mozillians/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mozillians/languages","stargazers_url":"https://api.github.com/repos/mozilla/mozillians/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mozillians/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mozillians/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mozillians/subscription","commits_url":"https://api.github.com/repos/mozilla/mozillians/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mozillians/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mozillians/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mozillians/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/mozillians/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mozillians/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mozillians/merges","archive_url":"https://api.github.com/repos/mozilla/mozillians/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mozillians/downloads","issues_url":"https://api.github.com/repos/mozilla/mozillians/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mozillians/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mozillians/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mozillians/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mozillians/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mozillians/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/mozillians/deployments","created_at":"2011-05-25T16:38:54Z","updated_at":"2016-09-06T16:04:58Z","pushed_at":"2016-09-16T11:09:11Z","git_url":"git://github.com/mozilla/mozillians.git","ssh_url":"git@github.com:mozilla/mozillians.git","clone_url":"https://github.com/mozilla/mozillians.git","svn_url":"https://github.com/mozilla/mozillians","homepage":"https://mozillians.org/","size":34086,"stargazers_count":180,"watchers_count":180,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":291,"mirror_url":null,"open_issues_count":26,"forks":291,"open_issues":26,"watchers":180,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1513"},"html":{"href":"https://github.com/mozilla/mozillians/pull/1513"},"issue":{"href":"https://api.github.com/repos/mozilla/mozillians/issues/1513"},"comments":{"href":"https://api.github.com/repos/mozilla/mozillians/issues/1513/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1513/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1513/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mozillians/statuses/e375301e157200fc17b56e6f38f288d0e4cb98d9"}}}}
{"actor":{"display_login":"johngian"}}