summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/src
AgeCommit message (Collapse)Author
2013-04-23replace deprecated methodTshepang Lekhonkhobe
2013-04-02remove copyright bits from the tutorial examplesTshepang Lekhonkhobe
We don't want to have to keep remembering these if there's a change, and apparently it's also overkill, according to https://github.com/Pylons/pyramid/pull/953#issuecomment-15654314.
2013-03-04fix #311Tshepang Lekhonkhobe
2012-12-13Make ZODB tutorial functional tests passPatricio Paez
- Synchronize with the changes in pyramid_zodbdbconn in commit 64b0c468d4ae320d720d03d0cbc8e9a0b0e42f1f
2012-12-01Sync ZODB tutorial source files with the scaffoldPatricio Paez
2012-11-20adding transaction module requirement to zodb wiki docsericrasmussen
2012-11-20More sync on ZODB wiki tutorialPatricio Paez
- literalinclude should refer to the file in the corresponding section - Remove extra lines
2012-11-19Sync some ZODB wiki tutorial files with the scaffoldPatricio Paez
- 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.
2012-11-04merged SHA512AuthTktAuthenticationPolicy into AuthTktAuthenticationPolicyMichael Merickel
AuthTktAuthenticationPolicy now accepts a hashalg parameter and is no longer deprecated. Docs recommend overriding hashalg and using 'sha512'.
2012-11-04fix docs, upgrade tutorials, add change note, deprecate using ↵Chris McDonough
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
2012-09-17resolve contributors.txt merge conflictChris McDonough
2012-09-11Change variable name ``name`` to ``pagename`` in ZODB tutorialPatricio Paez
2012-07-29prettify CSS stored in docs tutorialsDavid Gay
2012-07-29correct typo 'snall' to 'small'David Gay
2012-04-08Final detailsPatricio Paez
- Normalize the Seeing our changes section - Changed import to recommended style
2012-04-08Normalize Authorization in both tutorials 4Patricio Paez
- 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
2012-04-08Normalize Authorization in both tutorials 3Patricio Paez
- 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
2012-03-17- Remove references to do-nothing ``pyramid.debug_templates`` setting in allChris McDonough
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.
2012-02-22- New API: ``pyramid.config.Configurator.add_forbidden_view``. This is aChris McDonough
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.
2012-02-19- Put ``pyramid.includes`` targets within ini files in scaffolds on separateChris McDonough
lines in order to be able to tell people to comment out only the ``pyramid_debugtoolbar`` line when they want to disable the toolbar.
2012-01-19use method-based setting of authorization and authentication policy (see ↵Chris McDonough
issue #398)
2012-01-02- Use the ``waitress`` WSGI server instead of ``wsgiref`` in scaffolding.Chris McDonough
2011-11-28move code from login.py to views.py (like sqla tutorial)Chris McDonough
2011-11-18- Fix ZODB tutorial docs to match ZODB tutorial code (I removed program nameChris McDonough
from ``scan``).
2011-11-11make more relocatableChris McDonough
2011-11-10Remove gratuitous whitespace.kenmanheimer
2011-11-10Convert absolute 'tutorial' package references that are from within thekenmanheimer
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'.
2011-11-08Remove unnecessary whitespace.kenmanheimer
2011-11-08Convert absolute 'tutorial' package references that are from within thekenmanheimer
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.
2011-11-08Convert absolute 'tutorial' package references that are from within thekenmanheimer
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.
2011-10-06remove all reference to the paster command-line utilityChris McDonough
2011-09-06prep for 1.2a6Chris McDonough
2011-08-22- Use [app:main] instead of a pipeline in all scaffolds and tutorialsChris McDonough
and narrative docs. - Break out awkward description of PasteDeploy entry points from project chapter into its own Paste chapter.
2011-08-14- The ZODB wiki tutorial now uses the ``pyramid_zodbconn`` package ratherChris McDonough
than the ``repoze.zodbconn`` package to provide ZODB integration. - The ZODB scaffold now uses the ``pyramid_zodbconn`` package rather than the ``repoze.zodbconn`` package to provide ZODB integration.
2011-08-14- All tutorials now use - The ``route_url``, ``route_path``,Chris McDonough
``resource_url``, ``static_url``, and ``current_route_url`` methods of the request rather than the function variants imported from ``pyramid.url``.
2011-08-13- Projects created via a scaffold no longer depend on the ``WebError``Chris McDonough
package at all; configuration in the ``production.ini`` file which used to require its ``error_catcher`` middleware has been removed. Configuring error catching / email sending is now the domain of the ``pyramid_exclog`` package (see https://docs.pylonsproject.org/projects/pyramid_exclog/dev/).
2011-08-11fix docs, scaffolds, and tutorials to use pyramid.includesChris McDonough
2011-08-11pyramid_tm->tmChris McDonough
2011-08-09convert tutorials to pyramid_tm+pyramid_debugtoolbarChris McDonough
2011-07-31updated wiki tutorials cssBlaise Laflamme
2011-07-30Updated all of the docs to reflect the new pyramid.* settings prefix.Michael Merickel
2011-07-21- Change all scaffolding templates that point to docs.pylonsproject.org toChris McDonough
use ``/projects/pyramid/current`` rather than ``/projects/pyramid/dev``.
2011-07-01fix wiki tests tooChris McDonough
2011-06-14merge httpexception-utils branchChris McDonough
2011-06-11- Pyramid now expects Response objects to have a __call__Chris McDonough
method which implements the WSGI application interface instead of the three webob attrs status, headerlist and app_iter. Backwards compatibility exists for code which returns response objects that do not have a __call__. - pyramid.response.Response is no longer an exception (and therefore cannot be raised in order to generate a response). - Changed my mind about moving stuff from pyramid.httpexceptions to pyramid.response. The stuff I moved over has been moved back to pyramid.httpexceptions.
2011-06-05Close zodb before removing in functional testsPatricio Paez
2011-05-31the canonical import location for HTTP exceptions/responses is now ↵Chris McDonough
pyramid.response
2011-04-20Adding Tests in the ZODB wiki tutorialPatricio Paez
- New section in the main index - Move Model and View tests there - Added Functional tests
2011-03-30Move the Declaring Dependencies topic to the Defining Views sectionPatricio Paez
2011-01-30fix too-long linesChris McDonough