{"action":"created","issue":{"url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1326","labels_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1326/labels{/name}","comments_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1326/comments","events_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1326/events","html_url":"https://github.com/stephenmcd/mezzanine/pull/1326","id":85379257,"number":1326,"title":"Lazier, more consistent editable settings","user":{"login":"AlexHill","id":1011483,"avatar_url":"https://avatars.githubusercontent.com/u/1011483?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexHill","html_url":"https://github.com/AlexHill","followers_url":"https://api.github.com/users/AlexHill/followers","following_url":"https://api.github.com/users/AlexHill/following{/other_user}","gists_url":"https://api.github.com/users/AlexHill/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexHill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexHill/subscriptions","organizations_url":"https://api.github.com/users/AlexHill/orgs","repos_url":"https://api.github.com/users/AlexHill/repos","events_url":"https://api.github.com/users/AlexHill/events{/privacy}","received_events_url":"https://api.github.com/users/AlexHill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-05T02:13:33Z","updated_at":"2015-06-10T05:50:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stephenmcd/mezzanine/pulls/1326","html_url":"https://github.com/stephenmcd/mezzanine/pull/1326","diff_url":"https://github.com/stephenmcd/mezzanine/pull/1326.diff","patch_url":"https://github.com/stephenmcd/mezzanine/pull/1326.patch"},"body":"This incorporates the changes in behaviour proposed by @dsanders11 in #1323 and @frankier in #1305. Can you two please test this branch in your projects to confirm that it does what it's meant to?\r\n\r\nOverview:\r\n * we now automatically use database-backed settings.\r\n  * ``settings.use_editable()`` is out (it's still there, but comes with a deprecation message).\r\n  * ``settings.clear_cache()`` is in, for when code needs to explicitly refresh database-backed settings\r\n * settings are consistent for the duration of each request (unless ``settings.clear_cache()`` is called)\r\n * the template context settings cache is gone, and the associated changes from #1212 reverted\r\n * a few more tests now nail down the behaviour of editable settings more precisely\r\n * settings accessed in templates are now lazily fetched, instead of being fetched upfront\r\n\r\n@stephenmcd would be great if you could cast an eye over this when you have some time."},"comment":{"url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/comments/110598689","html_url":"https://github.com/stephenmcd/mezzanine/pull/1326#issuecomment-110598689","issue_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1326","id":110598689,"user":{"login":"stephenmcd","id":116385,"avatar_url":"https://avatars.githubusercontent.com/u/116385?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenmcd","html_url":"https://github.com/stephenmcd","followers_url":"https://api.github.com/users/stephenmcd/followers","following_url":"https://api.github.com/users/stephenmcd/following{/other_user}","gists_url":"https://api.github.com/users/stephenmcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenmcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenmcd/subscriptions","organizations_url":"https://api.github.com/users/stephenmcd/orgs","repos_url":"https://api.github.com/users/stephenmcd/repos","events_url":"https://api.github.com/users/stephenmcd/events{/privacy}","received_events_url":"https://api.github.com/users/stephenmcd/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T05:50:08Z","updated_at":"2015-06-10T05:50:08Z","body":"Yep agreed - from my perspective, let's try and keep the iterations small, and this current PR is a pretty big leap as is."}}