summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2
AgeCommit message (Collapse)Author
2012-03-13Sync section titles with the summaryPatricio Paez
2012-03-13Improved the Authorization chapterPatricio Paez
- Added a summary of the steps - Fixed a couple of typos
2012-03-13Merge pull request #474 from ppaez/wiki-documentationmichr
Clarify two steps in the SQL wiki tutorial
2012-03-12The import also has changed and needs to be edited by the user, so I ↵Audrey Roy
highlighted it.
2012-03-12Clarify two steps in the SQL wiki tutorialPatricio Paez
- Highlight the added or changed lines
2012-03-12More clarification, telling the user to open specified files.Audrey Roy
2012-03-12Clarified which files to open/edit. Highlighted the lines to be edited in ↵Audrey Roy
models.py.
2012-03-12Merge pull request #471 from ppaez/wiki-documentationCarlos de la Guardia
Added links to 'Starting the Application'
2012-03-12More concise views.py section.Audrey Roy
2012-03-12Added links to Starting the ApplicationPatricio Paez
- 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.
2012-03-12Added the Design chapter on both wiki tutorialsPatricio Paez
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-02-14- Don't create a ``session`` instance in SQLA Wiki tutorial, use rawChris McDonough
``DBSession`` instead (this is more common in real SQLA apps).
2012-01-29show decorators along with view callables, fixes #393Chris McDonough
2012-01-19use method-based setting of authorization and authentication policy (see ↵Chris McDonough
issue #398)
2012-01-18include correct fileChris McDonough
2012-01-04remove dependency on pysqlite from all scaffolding on platforms lt 2.6Chris McDonough
2012-01-04merge from masterChris McDonough
2012-01-04Removed repetition of the word "the" in the Wiki Tutorial.Mathieu Larose
2012-01-02- Use the ``waitress`` WSGI server instead of ``wsgiref`` in scaffolding.Chris McDonough
2011-11-27- The SQLAlchemy Wiki tutorial has been updated. It now usesChris McDonough
``@view_config`` decorators and an explicit database population script. Closes #359.
2011-11-26output warning to use populate command to console after alchemy scaffold ↵Chris McDonough
rendering; emit logging statements when populate is run
2011-11-12- The ``alchemy`` scaffold has been removed.Chris McDonough
- The ``routesalchemy`` scaffold has been renamed ``alchemy``.
2011-11-08Remove 'pyramid_' from scaffolding name used for pcreate now.Chris Shenton
2011-11-08Move test, coverage together; start and view too.Chris Shenton
Previously it was: test, start, coverage, view.
2011-10-06remove all reference to the paster command-line utilityChris McDonough
2011-09-23fixed up all the warning dealing ..note and ..warnmichr
added a hide toc for glossary to prevent warnings
2011-09-06prep for 1.2a6Chris McDonough
2011-09-05hail mary checkin to fix reported test failures on unknown systems that isnt ↵Chris McDonough
replicable on my own
2011-08-28clean up inappropriate discussions of ZCMLChris McDonough
2011-08-22remove time bombsChris 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-20- Mention debug toolbar in tutorials.Chris McDonough
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-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-19- Fixed two typos in wiki2 (SQLA + URL Dispatch) tutorial.Chris McDonough
2011-07-12- The ``pyramid_routesalchemy`` and ``pyramid_alchemy`` scaffoldsChris McDonough
inappropriately used ``DBSession.rollback()`` instead of ``transaction.abort()`` in one place. - Wiki2 (SQLAlchemy + URL Dispatch) tutorial ``models.initialize_sql`` didn't match the ``pyramid_routesalchemy`` scaffold function of the same name; it didn't get synchronized when it was changed in the scaffold.
2011-07-02remove male pronounChris McDonough
2011-07-01run setup.py developChris McDonough
2011-07-01use assertEqualChris McDonough
2011-07-01- The Wiki2 tutorial "Tests" chapter had two bugs: it did not tell the userChris McDonough
to depend on WebTest, and 2 tests failed as the result of changes to Pyramid itself. These issues have been fixed.
2011-06-14merge httpexception-utils branchChris McDonough
2011-06-13- Remove IResponder abstraction in favor of more general IResponseChris McDonough
abstraction. - It is now possible to return an arbitrary object from a Pyramid view callable even if a renderer is not used, as long as a suitable adapter to ``pyramid.interfaces.IResponse`` is registered for the type of the returned object. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The Pyramid router now, by default, expects response objects returned from view callables to implement the ``pyramid.interfaces.IResponse`` interface. Unlike the Pyramid 1.0 version of this interface, objects which implement IResponse now must define a ``__call__`` method that accepts ``environ`` and ``start_response``, and which returns an ``app_iter`` iterable, among other things. Previously, it was possible to return any object which had the three WebOb ``app_iter``, ``headerlist``, and ``status`` attributes as a response, so this is a backwards incompatibility. It is possible to get backwards compatibility back by registering an adapter to IResponse from the type of object you're now returning from view callables. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The ``pyramid.interfaces.IResponse`` interface is now much more extensive. Previously it defined only ``app_iter``, ``status`` and ``headerlist``; now it is basically intended to directly mirror the ``webob.Response`` API, which has many methods and attributes. - Documentation changes to support above.
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-07removed test that fails because of a known problem in Pyramid 1.0Carlos de la Guardia