| Age | Commit message (Collapse) | Author |
|
- In the Basic Layout and Authorization chapters
of the ZODB wiki tutorial
|
|
|
|
|
|
|
|
- literalinclude should refer to the file
in the corresponding section
- Remove extra lines
|
|
- Files that are not referred to in a literalinclude
in the tutorial docs
- setup.py and development.ini appear in a literalinclude
but no lines are emphasized and there is no impact.
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 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
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
- Sections 'Viewing the Application in a Browser' in the
'Defining the Domain Model' and 'Defining the Views'
chapters now offer a quick link in both wiki tutorials,
as suggested by Paulo.
|
|
|
|
wrapper for ``pyramid.Config.configurator.add_view`` which does the right
thing about permissions. It should be preferred over calling ``add_view``
directly with ``context=HTTPForbidden`` as was previously recommended.
- New API: ``pyramid.view.forbidden_view_config``. This is a decorator
constructor like ``pyramid.view.view_config`` that calls
``pyramid.config.Configurator.add_forbidden_view`` when scanned. It should
be preferred over using ``pyramid.view.view_config`` with
``context=HTTPForbidden`` as was previously recommended.
- Updated the "Creating a Not Forbidden View" section of the "Hooks" chapter,
replacing explanations of registering a view using ``add_view`` or
``view_config`` with ones using ``add_forbidden_view`` or
``forbidden_view_config``.
- Updated all tutorials to use ``pyramid.view.forbidden_view_config`` rather
than ``pyramid.view.view_config`` with an HTTPForbidden context.
|
|
lines in order to be able to tell people to comment out only the
``pyramid_debugtoolbar`` line when they want to disable the toolbar.
|
|
|
|
issue #398)
|
|
|
|
|
|
|
|
rendering; emit logging statements when populate is run
|
|
from ``scan``).
|
|
|
|
|
|
package to relative ones, to reduce brittleness, eg when the user names the
package something other than 'tutorial'.
- make imports relative
- use plain relative URLs for resources (like stylesheets and images) in
page templates.
This is the last batch of this kind of change that I know about. I've
exercised the changes (via the browser and the test target) in a package
with an alternate name, 'zodbtutorial', as well as in a package with the
default name, 'tutorial'.
|
|
change substitute the package name they used with 'tutorial'.
|
|
|
|
package to relative ones, to reduce brittleness, eg when the user names the
package something other than 'tutorial'.
- make imports relative
- use plain relative URLs for resources (like stylesheets and images) in
page templates.
|
|
voice for the headings.
|
|
|