{"action":"created","issue":{"url":"https://api.github.com/repos/freelawproject/recap/issues/62","labels_url":"https://api.github.com/repos/freelawproject/recap/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/freelawproject/recap/issues/62/comments","events_url":"https://api.github.com/repos/freelawproject/recap/issues/62/events","html_url":"https://github.com/freelawproject/recap/issues/62","id":68814655,"number":62,"title":"[CLOSED] Rework settings","user":{"login":"freelawbot","id":8268044,"avatar_url":"https://avatars.githubusercontent.com/u/8268044?v=3","gravatar_id":"","url":"https://api.github.com/users/freelawbot","html_url":"https://github.com/freelawbot","followers_url":"https://api.github.com/users/freelawbot/followers","following_url":"https://api.github.com/users/freelawbot/following{/other_user}","gists_url":"https://api.github.com/users/freelawbot/gists{/gist_id}","starred_url":"https://api.github.com/users/freelawbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freelawbot/subscriptions","organizations_url":"https://api.github.com/users/freelawbot/orgs","repos_url":"https://api.github.com/users/freelawbot/repos","events_url":"https://api.github.com/users/freelawbot/events{/privacy}","received_events_url":"https://api.github.com/users/freelawbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-16T00:12:43Z","updated_at":"2015-04-16T00:13:56Z","closed_at":null,"body":"<a href=\"https://github.com/audiodude\"><img src=\"https://avatars.githubusercontent.com/u/57832?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [audiodude](https://github.com/audiodude)**\n_Saturday Mar 28, 2015 at 02:04 GMT_\n_Originally opened as https://github.com/freelawproject/recap-server/pull/57_\n\n----\n\nBased on the setup here: https://github.com/freelawproject/courtlistener/blob/master/alert/settings.py\r\n\r\nThis change makes it easier to setup servers with divergent settings, including\r\ndev servers. It also documents some of the more \"secret\" settings in the app.\r\nFinally, it merges the concept of \"recap_config\" directly into Django's own\r\nsettings system, so there is only one source of all settings and one place for\r\nsettings to be overridden no matter what \"type\" they are (DB config versus IA\r\nurls).\n\n----\n\n_**[audiodude](https://github.com/audiodude)** included the following code: https://github.com/freelawproject/recap-server/pull/57/commits_\n"},"comment":{"url":"https://api.github.com/repos/freelawproject/recap/issues/comments/93603950","html_url":"https://github.com/freelawproject/recap/issues/62#issuecomment-93603950","issue_url":"https://api.github.com/repos/freelawproject/recap/issues/62","id":93603950,"user":{"login":"freelawbot","id":8268044,"avatar_url":"https://avatars.githubusercontent.com/u/8268044?v=3","gravatar_id":"","url":"https://api.github.com/users/freelawbot","html_url":"https://github.com/freelawbot","followers_url":"https://api.github.com/users/freelawbot/followers","following_url":"https://api.github.com/users/freelawbot/following{/other_user}","gists_url":"https://api.github.com/users/freelawbot/gists{/gist_id}","starred_url":"https://api.github.com/users/freelawbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freelawbot/subscriptions","organizations_url":"https://api.github.com/users/freelawbot/orgs","repos_url":"https://api.github.com/users/freelawbot/repos","events_url":"https://api.github.com/users/freelawbot/events{/privacy}","received_events_url":"https://api.github.com/users/freelawbot/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T00:13:56Z","updated_at":"2015-04-16T00:13:56Z","body":"<a href=\"https://github.com/mlissner\"><img src=\"https://avatars.githubusercontent.com/u/236970?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [mlissner](https://github.com/mlissner)**\n_Thursday Apr 02, 2015 at 00:20 GMT_\n\n----\n\nThis is all merged. Ran into a dumb issue with the `with` statement and Python 2.5, but easily fixed it with:\r\n\r\n    from __future__ import with_statement\r\n\r\nUgh. Can't want to get this server upgraded.\n"}}