| Age | Commit message (Collapse) | Author |
|
* This also removes the mention of running 'source bin/activate' (see #759).
|
|
lots of typos
|
|
|
|
If this page is found via web search while trying to configure
SQLAlchemy from scratch without a scaffold, it is helpful to
mention pyramid_tm as a requirement somewhere. Otherwise, a
hapless user such as your humble author might spend lots of
time wondering why his sessions aren't getting committed after
his requests despite his best efforts to properly configure
SQLAlchemy and ZopeTransactionExtension.
|
|
A bunch of minor tweaks to the wiki2 tutorial in docs/tutorials/wiki2
|
|
- No line references to update
|
|
|
|
- Update lines and emphasized-lines
- No line numbers if only a single line
|
|
- Update lines and emphasized-lines
- No line numbers if only a single line
|
|
|
|
http://localhost:6543/add_page to http://localhost:6543/foobar/edit_page
For me, the former generates "404 Not Found" (probably because it
doesn't match a route) while the latter gives
"sqlalchemy.orm.exc.NoResultFound" and the nice traceback from Werkzeug.
|
|
|
|
- Explain the added lines in the Basic Layout chapter.
- The user is told to remove the added lines in the
Defining Views chapter, there was no need to fix
any emphasized lines.
- Sync the file in the other sections even if it is not
shown, for consistency.
|
|
- Files that are not referred to in a literalinclude
in the tutorial docs
- setup.py appears in literalinclude, but no lines
are added or removed so no impact. Fixed docutils
order in the requires list.
|
|
AuthTktAuthenticationPolicy now accepts a hashalg parameter and is no
longer deprecated. Docs recommend overriding hashalg and using 'sha512'.
|
|
zope.deprecation instead of a warning, make hashalg arg a kwarg in certain cases in case someone (maybe me) is using nonapi function imports from authentication
|
|
defined imperatively will work.
- update wiki2 SQLA tutorial with the changes required after inserting
``Base.metadata.bind = engine`` into the alchemy scaffold.
|
|
|
|
|
|
- In the authorization and tests stages
|
|
view_page function (and the matchdict key for that matter)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
code to implement the suggestion in issue #504
|
|
|
|
- Moved the selection of the templates to
the Design chapter
- Improved the Views section in the Design chapter
- Normalize in both tutorials
|
|
- As suggested by Paulo in the PyCon sprint
|
|
- Normalize the Seeing our changes section
- Changed import to recommended style
|
|
- Sync content of Add login and logout views,
Add the login.pt template, Return a logged_in
flag, Add a logout link sections
- Normalize sections of views.py
|
|
- Sync content in Adding Authentication and
Authorization policies, Add permission
declarations sections
- Added mising permission=view in SQL tutorial
- Moved __init__.py listing to Seeing our changes
|
|
- Sync content of Add users and groups, and
Add an ACL.
- Added yellow highlight to listings in
Seeing our changes, added models.py
|
|
|
|
- Sync the content of the introduction and the
Viewing the Application in a Browser sections
- Sync the section structure
|
|
|
|
- Made the section headers more explicit and
rearranged them in a group for access control
and another for login/logout
- Split the summary in the two groups
- Added missing section Add routes for
/login and /logout
- Clarify some sections
|
|
- Simplified the authentication policy callback section
- Use full path for files in Seeing Our Changes
- Fixed a typo
|
|
- Clarify the Adding A Root Factory section, include
a related modification to __init__.py
- Added Add routes for /login and /logout section
- Added yellow higlighting in various listings
- Consolidate all the Seeing our changes at the end
- Use a 'do, then explain' pattern
|
|
- Removed unneeded logged_in assignment
- Moved up text to the corresponding section
- Normalize references to view callables
- Simplify text in Add permission declarations
|
|
|
|
tutorial, too
|
|
|
|
Pyramid-provided ``.ini`` files. This setting previously told Chameleon to
render better exceptions; now Chameleon always renders nice exceptions
regardless of the value of this setting.
Fixes #491.
|
|
|
|
|
|
|
|
|