summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/src
AgeCommit message (Collapse)Author
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
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-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-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-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-12Changed google font link in tutorialsBlaise Laflamme
2011-01-12Changed some references from pylonshq.com to pylonsproject.orgBlaise Laflamme
2011-01-12FeaturesChris McDonough
-------- - ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` have been undeprecated. They are now the canonical setup and teardown APIs for test configuration, replacing "direct" creation of a Configurator. This is a change designed to provide a facade that will protect against any future Configurator deprecations. Paster Templates ---------------- - All paster templates now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand" within their ``tests.py`` module, as per decision in features above. Documentation ------------- - The wiki and wiki2 tutorials now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand", as per decision in features above. - The "Testing" narrative chapter now explains ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` instead of Configurator creation and ``Configurator.begin()`` and ``Configurator.end()``.
2011-01-06Added missing imagesBlaise Laflamme
2011-01-06Added small header support to css paster templates, using small header for ↵Blaise Laflamme
wiki tutorial
2011-01-06Removed login option from tutorial defining views templatesBlaise Laflamme
2011-01-05Updated tutorial sources to use the new theme, use ↵Blaise Laflamme
request.static_url('{{package}}:static/foo.css') instead of ${request.application_url}/static/foo.css for static files
2010-12-23tutorial accuracy and wording improvementsChris McDonough
2010-12-22- The ``pyramid_zodb`` Paster template no longer employs ZCML. Instead, itChris McDonough
is based on scanning. - Changed the "ZODB + Traversal Wiki Tutorial" based on changes to ``pyramid_zodb`` Paster template.