summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki
AgeCommit message (Collapse)Author
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-02remove male pronounChris McDonough
2011-07-01fix wiki tests tooChris McDonough
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-07Merge remote branch 'cito/master'Carlos de la Guardia
2011-06-05More small fixes made reading the rest of the docs and the tutorials.Christoph Zwerschke
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-05-30Sync Adding Authorization on both wiki tutorialsPatricio Paez
2011-05-30Improvements to Adding Authorization of the wiki tutorialsPatricio Paez
2011-04-20Sync with SQLAlchemy wiki tutorialPatricio Paez
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-04-16Consolidate two identical paragraphsPatricio Paez
2011-04-16ZODB tutorial Adding Authorization reorganizePatricio Paez
- Sections sorted by general, views, templates - List steps in the introduction
2011-04-16Improve ZODB tutorial (Adding Authorization)Patricio Paez
- Consolidate two sections and promote some to first level - Add a couple of terms
2011-03-31Move Viewing the Application in a Browser upPatricio Paez
2011-03-31Fix typos in the tutorialsPatricio Paez
2011-03-31Sync the Defining Views intro with the SQLAlchemy tutorialPatricio Paez
2011-03-31Sync note with SQLAlchemy tutorialPatricio Paez
2011-03-30Sync Declaring Dependencies with the SQLAlchemy tutorialPatricio Paez
2011-03-30Move the Declaring Dependencies topic to the Defining Views sectionPatricio Paez
2011-03-26Simplify the Defining the Domain Model section in the ZODB tutorialPatricio Paez
and standardize with the SQLAlchemy tutorial
2011-03-24It was decided that pyramid would undergo a terminology change.Joe Dallago
'Paster templates' will now be refered to as 'scaffolds,' while 'rendered templates' will remain as 'templates.' I have changed the docs to reflect this change in terminology.
2011-03-21changed mentions of repoze.tm to repoze.tm2 to fix issue 151cguardia
2011-03-02Closes #128Chris McDonough
2011-02-05fix conflictsChris McDonough
2011-02-03Corrected a/an usage and also clarified "deployment" to mean to a production ↵Chris Beelby
system (as opposed to deploying to a development, QA, etc... machine)
2011-01-30Typo - "tutorial.models.Wiki" should be "tutorial.models.Page"Claus Conrad
2011-01-30fix too-long linesChris McDonough
2011-01-29- Added ``egg:repoze.retry#retry`` middleware to the WSGI pipeline in ZODBChris McDonough
templates (retry ZODB conflict errors which occur in normal operations).
2011-01-29fix too-long lines in tutorialsChris McDonough
2011-01-28docutils necessary as per tutorial flowChris McDonough
2011-01-28dont use tab-width directive (older sphinx does not support, need to build ↵Chris McDonough
book with older sphinx)
2011-01-28convert all tabs to spaces in templates (sorry, blaise, i may have to use an ↵Chris McDonough
older version of sphinx which doesnt respect tab-width)
2011-01-25- Use © instead of copyright symbol in paster templates / tutorialChris McDonough
templates for the benefit of folks who cutnpaste and save to a non-UTF8 format.
2011-01-22- The ``production.ini`` generated by all paster templates now have anChris McDonough
effective logging level of WARN, which prevents e.g. SQLAlchemy statement logging and other inappropriate output. - The ``production.ini`` of the ``pyramid_routesalchemy`` and ``pyramid_alchemy`` paster templates did not have a ``sqlalchemy`` logger section, preventing ``paster serve production.ini`` from working. - The ``pyramid_routesalchemy`` and ``pyramid_alchemy`` paster templates used the ``{{package}}`` variable in a place where it should have used the ``{{project}}`` variable, causing applications created with uppercase letters e.g. ``paster create -t pyramid_routesalchemy Dibbus`` to fail to start when ``paster serve development.ini`` was used against the result. See https://github.com/Pylons/pyramid/issues/#issue/107 Closes #107
2011-01-21include txt, mako, xml, htmlChris McDonough
2011-01-21- Add a ``MANIFEST.in`` file to each paster template. SeeChris McDonough
https://github.com/Pylons/pyramid/issues#issue/95 Closes issue #95.
2011-01-21remove descriptions from titlesChris McDonough
2011-01-21deal with the addition of production.iniChris McDonough
2011-01-19readd docutilsChris McDonough
2011-01-19adjust tutorial sources against pyramid_zodb changesChris McDonough
2011-01-19- The ``pyramid_zodb``, ``pyramid_routesalchemy`` and ``pyramid_alchemy``Chris McDonough
paster templates now use a default "commit veto" hook when configuring the ``repoze.tm2`` transaction manager in ``development.ini``. This prevents a transaction from being committed when the response status code is within the 400 or 500 ranges. See also http://docs.repoze.org/tm2/#using-a-commit-veto.
2011-01-15Merge branch 'longlines' of git://github.com/johnwshipman/pyramidBlaise Laflamme
2011-01-15General reformatting of the wiki and wiki2 tutorials to eliminateJohn Shipman
any overly long lines in the PDF rendering. Changes to .rst files: (docs/tutorials/wiki/authorization.rst) (docs/tutorials/wiki/definingviews.rst) (docs/tutorials/wiki2/authorization.rst) (docs/tutorials/wiki2/definingviews.rst) 1. For included templates, added :tab-width: 2 options. 2. wiki2/authorization.rst: Wrong markup for file names __init__.py and views.py just after the subhead "Adding security.py". Changes to .py files: Folded a few long lines. (docs/tutorials/wiki/src/basiclayout/tutorial/views.py) (docs/tutorials/wiki/src/authorization/tutorial/views.py) (docs/tutorials/wiki/src/views/tutorial/views.py) (docs/tutorials/wiki2/src/basiclayout/tutorial/models.py) (docs/tutorials/wiki2/src/models/tutorial/models.py) Changes to .pt files: Broke long lines; reformatted for 2-space indentation using tabs. (docs/tutorials/wiki/src/authorization/tutorial/templates/edit.pt) (docs/tutorials/wiki/src/authorization/tutorial/templates/login.pt) (docs/tutorials/wiki/src/authorization/tutorial/templates/view.pt) (docs/tutorials/wiki/src/views/tutorial/templates/edit.pt) (docs/tutorials/wiki/src/views/tutorial/templates/view.pt) (docs/tutorials/wiki2/src/authorization/tutorial/templates/edit.pt) (docs/tutorials/wiki2/src/authorization/tutorial/templates/login.pt) (docs/tutorials/wiki2/src/authorization/tutorial/templates/view.pt) (docs/tutorials/wiki2/src/views/tutorial/templates/edit.pt) (docs/tutorials/wiki2/src/views/tutorial/templates/view.pt)
2011-01-14Added tab-width: 2 to literalinclude to see if it formats better :)Blaise Laflamme