{"action":"created","comment":{"url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/comments/188756319","pull_request_review_id":120797136,"id":188756319,"diff_hunk":"@@ -0,0 +1,46 @@\n+import dj_database_url\n+import os\n+\n+DEBUG = True\n+\n+DATABASES = {\n+    'default': {\n+        'ENGINE': 'django.db.backends.sqlite3',\n+        'NAME': 'dccc.sqlite3',\n+    }\n+}\n+\n+if 'DATABASE_URL' in os.environ:\n+    DATABASES['default']  =  dj_database_url.config()\n+\n+HAYSTACK_CONNECTIONS = {\n+    'default': {\n+        'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',\n+    },\n+}\n+\n+INSTALLED_APPS = (\n+    'django.contrib.staticfiles',\n+    'comparisontool',\n+)\n+\n+ROOT_URLCONF = 'comparisontool.urls'\n+SECRET_KEY = 'this-is-just-for-tests-so-not-that-secret'","path":"comparisontool/tests/settings.py","position":28,"original_position":28,"commit_id":"a2ad683344c3d2002151a12c07f1469b0a1bf9ea","original_commit_id":"a2ad683344c3d2002151a12c07f1469b0a1bf9ea","user":{"login":"chosak","id":654645,"avatar_url":"https://avatars1.githubusercontent.com/u/654645?v=4","gravatar_id":"","url":"https://api.github.com/users/chosak","html_url":"https://github.com/chosak","followers_url":"https://api.github.com/users/chosak/followers","following_url":"https://api.github.com/users/chosak/following{/other_user}","gists_url":"https://api.github.com/users/chosak/gists{/gist_id}","starred_url":"https://api.github.com/users/chosak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chosak/subscriptions","organizations_url":"https://api.github.com/users/chosak/orgs","repos_url":"https://api.github.com/users/chosak/repos","events_url":"https://api.github.com/users/chosak/events{/privacy}","received_events_url":"https://api.github.com/users/chosak/received_events","type":"User","site_admin":false},"body":"Including a `SECRET_KEY` in settings [is required](https://docs.djangoproject.com/en/2.0/ref/settings/#secret-key), so we have to put some kind of placeholder value here. This seems as good as any other to me.","created_at":"2018-05-16T20:10:14Z","updated_at":"2018-05-16T20:27:22Z","html_url":"https://github.com/cfpb/django-college-costs-comparison/pull/8#discussion_r188756319","pull_request_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/comments/188756319"},"html":{"href":"https://github.com/cfpb/django-college-costs-comparison/pull/8#discussion_r188756319"},"pull_request":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8"}},"in_reply_to_id":188732368},"pull_request":{"url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8","id":188506614,"html_url":"https://github.com/cfpb/django-college-costs-comparison/pull/8","diff_url":"https://github.com/cfpb/django-college-costs-comparison/pull/8.diff","patch_url":"https://github.com/cfpb/django-college-costs-comparison/pull/8.patch","issue_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/8","number":8,"state":"open","locked":false,"title":"Allow running django-admin commands in standalone app","user":{"login":"schbetsy","id":4295388,"avatar_url":"https://avatars2.githubusercontent.com/u/4295388?v=4","gravatar_id":"","url":"https://api.github.com/users/schbetsy","html_url":"https://github.com/schbetsy","followers_url":"https://api.github.com/users/schbetsy/followers","following_url":"https://api.github.com/users/schbetsy/following{/other_user}","gists_url":"https://api.github.com/users/schbetsy/gists{/gist_id}","starred_url":"https://api.github.com/users/schbetsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schbetsy/subscriptions","organizations_url":"https://api.github.com/users/schbetsy/orgs","repos_url":"https://api.github.com/users/schbetsy/repos","events_url":"https://api.github.com/users/schbetsy/events{/privacy}","received_events_url":"https://api.github.com/users/schbetsy/received_events","type":"User","site_admin":false},"body":"- Adds a `manage.py` file\r\n- Moves app settings from `runtests.py` to a settings file: `comparisontool/tests/settings.py`\r\n\r\nNow, tox can use `./manage.py test` to run the test suite.","created_at":"2018-05-16T17:30:35Z","updated_at":"2018-05-16T20:27:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"975af10c7582dcf4077e4661e56cef580806c8da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8/commits","review_comments_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8/comments","review_comment_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/8/comments","statuses_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/statuses/a2ad683344c3d2002151a12c07f1469b0a1bf9ea","head":{"label":"cfpb:manage-py","ref":"manage-py","sha":"a2ad683344c3d2002151a12c07f1469b0a1bf9ea","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars2.githubusercontent.com/u/1071563?v=4","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":33191792,"name":"django-college-costs-comparison","full_name":"cfpb/django-college-costs-comparison","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars2.githubusercontent.com/u/1071563?v=4","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/django-college-costs-comparison","description":"A web app for comparing college financial aid offers","fork":false,"url":"https://api.github.com/repos/cfpb/django-college-costs-comparison","forks_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/forks","keys_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/teams","hooks_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/hooks","issue_events_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/events","assignees_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/tags","blobs_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/languages","stargazers_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/stargazers","contributors_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/contributors","subscribers_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/subscribers","subscription_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/subscription","commits_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/merges","archive_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/downloads","issues_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/deployments","created_at":"2015-03-31T14:59:55Z","updated_at":"2018-04-23T21:29:04Z","pushed_at":"2018-05-16T20:17:30Z","git_url":"git://github.com/cfpb/django-college-costs-comparison.git","ssh_url":"git@github.com:cfpb/django-college-costs-comparison.git","clone_url":"https://github.com/cfpb/django-college-costs-comparison.git","svn_url":"https://github.com/cfpb/django-college-costs-comparison","homepage":"http://www.consumerfinance.gov/paying-for-college/compare-financial-aid-and-college-cost/","size":6405,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"cfpb:master","ref":"master","sha":"4cb06af006e59fb14e0d2b6bd8670417ede9379b","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars2.githubusercontent.com/u/1071563?v=4","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":33191792,"name":"django-college-costs-comparison","full_name":"cfpb/django-college-costs-comparison","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars2.githubusercontent.com/u/1071563?v=4","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/django-college-costs-comparison","description":"A web app for comparing college financial aid offers","fork":false,"url":"https://api.github.com/repos/cfpb/django-college-costs-comparison","forks_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/forks","keys_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/teams","hooks_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/hooks","issue_events_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/events","assignees_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/tags","blobs_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/languages","stargazers_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/stargazers","contributors_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/contributors","subscribers_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/subscribers","subscription_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/subscription","commits_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/merges","archive_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/downloads","issues_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/django-college-costs-comparison/deployments","created_at":"2015-03-31T14:59:55Z","updated_at":"2018-04-23T21:29:04Z","pushed_at":"2018-05-16T20:17:30Z","git_url":"git://github.com/cfpb/django-college-costs-comparison.git","ssh_url":"git@github.com:cfpb/django-college-costs-comparison.git","clone_url":"https://github.com/cfpb/django-college-costs-comparison.git","svn_url":"https://github.com/cfpb/django-college-costs-comparison","homepage":"http://www.consumerfinance.gov/paying-for-college/compare-financial-aid-and-college-cost/","size":6405,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8"},"html":{"href":"https://github.com/cfpb/django-college-costs-comparison/pull/8"},"issue":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/8"},"comments":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/django-college-costs-comparison/statuses/a2ad683344c3d2002151a12c07f1469b0a1bf9ea"}},"author_association":"NONE"}}
{"actor":{"display_login":"chosak"}}