{"action":"created","issue":{"url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1265","labels_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1265/labels{/name}","comments_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1265/comments","events_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1265/events","html_url":"https://github.com/stephenmcd/mezzanine/pull/1265","id":67910224,"number":1265,"title":"[WIP] New project layout","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":4,"created_at":"2015-04-12T12:41:09Z","updated_at":"2015-04-13T04:19:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stephenmcd/mezzanine/pulls/1265","html_url":"https://github.com/stephenmcd/mezzanine/pull/1265","diff_url":"https://github.com/stephenmcd/mezzanine/pull/1265.diff","patch_url":"https://github.com/stephenmcd/mezzanine/pull/1265.patch"},"body":"First attempt at this here. Haven't gone over settings or fabfile in detail yet, so I'm sure some things won't work. I also want to update settings to their current defaults in Django, where relevant.\r\n\r\nIn order to put the project_template in a Django-compatible format, I've renamed ``local_settings.py.template`` to just ``local_settings.py`` in the project app directory (``deploy/local_settings.py.template`` remains).\r\n\r\nThis means that ``.template`` files are exclusively for the use of the fabfile, which I think is nice. But it changes how tests work, so you'll have to have a look over that and see what you think."},"comment":{"url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/comments/92200770","html_url":"https://github.com/stephenmcd/mezzanine/pull/1265#issuecomment-92200770","issue_url":"https://api.github.com/repos/stephenmcd/mezzanine/issues/1265","id":92200770,"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},"created_at":"2015-04-13T04:19:08Z","updated_at":"2015-04-13T04:19:08Z","body":"Hmm nope, I read it wrong. The only thing that gets replaced in paths is the string \"project_name\" with the project's actual name.\r\n\r\nWe can replace the file in our management command, but we'll have to duplicate the code that Django uses to ascertain the target directory. That code (and the names of various arguments) differs between 1.7 and 1.8, which is rather annoying. I'll get back to you :)"}}