| Age | Commit message (Collapse) | Author |
|
- 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
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Improve text of SQLAlchemy wiki tutorial.
|
|
|
|
A mixture of typo fixes and wording improvements.
|
|
|
|
|
|
|
|
|
|
- Replaced populate_tutorial -> initialize_tutorial_db
- Renamed populate.py -> initializedb.py
- Updated references in the documenation
|
|
- Removed the main() settings parameter in populate.py
- Updated the Tests chapter
|
|
|
|
- Removed the Context column
- Swapped Action and View columns
|
|
|
|
|
|
shentonfreude/shentonfreude/bug.sqltut-test-populate-settings
Shentonfreude/bug.sqltut test populate settings
|
|
shentonfreude/bug.sqltut-test-populate-settings
|
|
The text didn't describe editing the populate.py to accept an optional
``settings`` argument, which _callFUT() in tests.py passed in. This is
used to specify a memory-backed SQLite DB which we can wipe-n-load
during testing.
Show how to replace main() in populate.py per our source code to
accept this argument, and use it to set the DB URI; it also uses our
Page model.
|
|
- Highlighted the added lines in the listings
- Simplified 'Viewing the application in a browser' and
added link to Starting the application
|
|
|
|
- Added a summary of the steps
- Fixed a couple of typos
|
|
Clarify two steps in the SQL wiki tutorial
|
|
highlighted it.
|
|
- Highlight the added or changed lines
|
|
|
|
models.py.
|
|
Added links to 'Starting the Application'
|
|
|
|
- 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.
|