{"action":"created","issue":{"url":"https://api.github.com/repos/Pylons/pyramid/issues/2024","repository_url":"https://api.github.com/repos/Pylons/pyramid","labels_url":"https://api.github.com/repos/Pylons/pyramid/issues/2024/labels{/name}","comments_url":"https://api.github.com/repos/Pylons/pyramid/issues/2024/comments","events_url":"https://api.github.com/repos/Pylons/pyramid/issues/2024/events","html_url":"https://github.com/Pylons/pyramid/pull/2024","id":112676079,"number":2024,"title":"alchemy scaffold updates","user":{"login":"mmerickel","id":487237,"avatar_url":"https://avatars.githubusercontent.com/u/487237?v=3","gravatar_id":"","url":"https://api.github.com/users/mmerickel","html_url":"https://github.com/mmerickel","followers_url":"https://api.github.com/users/mmerickel/followers","following_url":"https://api.github.com/users/mmerickel/following{/other_user}","gists_url":"https://api.github.com/users/mmerickel/gists{/gist_id}","starred_url":"https://api.github.com/users/mmerickel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmerickel/subscriptions","organizations_url":"https://api.github.com/users/mmerickel/orgs","repos_url":"https://api.github.com/users/mmerickel/repos","events_url":"https://api.github.com/users/mmerickel/events{/privacy}","received_events_url":"https://api.github.com/users/mmerickel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Pylons/pyramid/milestones/3","html_url":"https://github.com/Pylons/pyramid/milestones/1.7","labels_url":"https://api.github.com/repos/Pylons/pyramid/milestones/3/labels","id":1406893,"number":3,"title":"1.7","description":"","creator":{"login":"stevepiercy","id":102112,"avatar_url":"https://avatars.githubusercontent.com/u/102112?v=3","gravatar_id":"","url":"https://api.github.com/users/stevepiercy","html_url":"https://github.com/stevepiercy","followers_url":"https://api.github.com/users/stevepiercy/followers","following_url":"https://api.github.com/users/stevepiercy/following{/other_user}","gists_url":"https://api.github.com/users/stevepiercy/gists{/gist_id}","starred_url":"https://api.github.com/users/stevepiercy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevepiercy/subscriptions","organizations_url":"https://api.github.com/users/stevepiercy/orgs","repos_url":"https://api.github.com/users/stevepiercy/repos","events_url":"https://api.github.com/users/stevepiercy/events{/privacy}","received_events_url":"https://api.github.com/users/stevepiercy/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":4,"state":"open","created_at":"2015-11-11T16:26:51Z","updated_at":"2016-02-29T19:02:13Z","due_on":null,"closed_at":null},"comments":70,"created_at":"2015-10-21T20:50:04Z","updated_at":"2016-02-29T22:55:01Z","closed_at":"2016-02-29T19:02:13Z","pull_request":{"url":"https://api.github.com/repos/Pylons/pyramid/pulls/2024","html_url":"https://github.com/Pylons/pyramid/pull/2024","diff_url":"https://github.com/Pylons/pyramid/pull/2024.diff","patch_url":"https://github.com/Pylons/pyramid/pull/2024.patch"},"body":"This is a WIP to bring the alchemy scaffold in line with best practices.\r\n\r\n- [x] Remove scoped sessions.\r\n- [x] Connect session to request method.\r\n- [x] Switch to jinja2 templates.\r\n- [x] Add a `meta` module or package to avoid any circular references when importing.\r\n- [x] Switch models into a package instead of a module.\r\n- [x] Scan docs and tutorials for updates related to the changes. Here is the list of files. [See comment below](https://github.com/Pylons/pyramid/pull/2024#issuecomment-150054378).\r\n  - [x] whatsnew-1.6.rst (Scaffolding Enhancements and Documentation Enhancements sections)\r\n  - [x] Quick Tour `sqla_demo` generated from scaffold and its associated files in `quick_tour/sqla_demo/`. Note that there are some comments inserted in these files for Sphinx rendering. See quick_tour.rst, Databases section.\r\n  - [x] quick_tour.rst, Databases section\r\n  - [x] tutorials/wiki2/src/\\*/tutorial/[~~authorization~~|~~basiclayout~~|~~models~~|~~tests~~|~~views~~]/ (5 directories)\r\n  - [x] tutorials/wiki2/authorization.rst (13 occurrences)\r\n  - [x] tutorials/wiki2/basiclayout.rst (2 occurrences)\r\n  - [x] tutorials/wiki2/definingmodels.rst (9 occurrences)\r\n  - [x] tutorials/wiki2/definingviews.rst (9 occurrences)\r\n  - [x] tutorials/wiki2/design.rst (4 occurrences)\r\n  - [x] tutorials/wiki2/tests.rst\r\n- Pyramid Cookbook recipes\r\n  - [ ] http://docs.pylonsproject.org/projects/pyramid-cookbook/en/latest/auth/wiki2_auth.html (Add a note that this recipe will no longer apply when Pyramid 1.7 is released, and is most likely out of date since Pyramid 1.3. Or maybe just delete it?)\r\n- [x] Add `configure_mappers` when initializing the session."},"comment":{"url":"https://api.github.com/repos/Pylons/pyramid/issues/comments/190437040","html_url":"https://github.com/Pylons/pyramid/pull/2024#issuecomment-190437040","issue_url":"https://api.github.com/repos/Pylons/pyramid/issues/2024","id":190437040,"user":{"login":"bertjwregeer","id":649426,"avatar_url":"https://avatars.githubusercontent.com/u/649426?v=3","gravatar_id":"","url":"https://api.github.com/users/bertjwregeer","html_url":"https://github.com/bertjwregeer","followers_url":"https://api.github.com/users/bertjwregeer/followers","following_url":"https://api.github.com/users/bertjwregeer/following{/other_user}","gists_url":"https://api.github.com/users/bertjwregeer/gists{/gist_id}","starred_url":"https://api.github.com/users/bertjwregeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertjwregeer/subscriptions","organizations_url":"https://api.github.com/users/bertjwregeer/orgs","repos_url":"https://api.github.com/users/bertjwregeer/repos","events_url":"https://api.github.com/users/bertjwregeer/events{/privacy}","received_events_url":"https://api.github.com/users/bertjwregeer/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T22:55:01Z","updated_at":"2016-02-29T22:55:01Z","body":"Thank you @mmerickel and @stevepiercy!"}}