summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src
AgeCommit message (Collapse)Author
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
2011-06-06Small fix in code for Wiki2 tutorial in the view chapter.Christoph Zwerschke
2011-06-05Make tests in the Wiki2 tutorial a separate chapter, as for Wiki1.Christoph Zwerschke
Also add functional tests to the Wiki2 tutorial, similar to Wiki1.
2011-06-05More small fixes made reading the rest of the docs and the tutorials.Christoph Zwerschke
2011-05-31the canonical import location for HTTP exceptions/responses is now ↵Chris McDonough
pyramid.response
2011-05-05Fixed a bug in the wiki2/auth tutorial.Michael Merickel
2011-04-22- Make sure deprecation warnings aren't raised when tests are run.Chris McDonough
- Modify documentation for cross-referencing. - Use add_view(viewname) syntax rather than add_view(view=viewname) syntax for normalization. - Use warnings.warn rather than zope.deprecated in order to make testing easier. - Move tests which test deprecated methods of configurator to a separate test case.
2011-04-20Upgraded the url dispatch tutorials to use add_view.Michael Merickel
2011-02-23mirror virhilo's changes to views tutorial package in authorization stepChris McDonough
2011-02-23normalized test cases in wiki2 tutorialŁukasz Fidosz
2011-01-30fix too-long linesChris McDonough
2011-01-30fix too-long linesChris McDonough
2011-01-29fix too-long lines in tutorialsChris 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-19adjust wiki2 tutorial based on changes to pyramid_routesalchemy templateChris 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-30Renamed 'home' route to 'view_wiki' for consistency with the following ↵Charlie Choiniere
__init__.py examples.
2010-12-16FeaturesChris McDonough
-------- - Added ``debug_routematch`` configuration setting that logs matched routes (including the matchdict and predicates). Documentation ------------- - Added "Debugging Route Matching" section to the urldispatch narrative documentation chapter. - Added reference to ``BFG_DEBUG_ROUTEMATCH`` envvar and ``debug_routematch`` config file setting to the Environment narrative docs chapter.
2010-12-16Added debug_matched configuration setting.Joachim Krebs
2010-12-09fix docs: pyramid.configuration -> pyramid.configChris McDonough
2010-11-21- SQLAlchemy+URLDispatch tutorial updated to integrate changes toChris McDonough
``pyramid_routesalchemy`` template.
2010-11-20convert stray references to colon routing syntax to squiggly syntaxChris McDonough
2010-11-19- Remove calls to config.begin()/config.end() from startup config code inChris McDonough
tutorials and paster templates (no longer required).
2010-11-12fix tutorial to not update the context with the content of ↵Chris McDonough
request.matchdict, unnecessary and breaks now that request has a matchdict of None
2010-11-11- SQLAlchemy+urldispach wiki (``wiki2``) tutorial updated due to changes toChris McDonough
``pyramid_routesalchemy`` paster template.
2010-11-07 * Use edit.pt instead of view.pt for the add_page view callable in the wiki ↵Xavier Spriet
tutorial.
2010-11-07 * Use edit.pt instead of view.pt for the add_page view callable in the wiki ↵Xavier Spriet
tutorial.
2010-11-05use the latest pylons.css for all tutorialsChris McDonough
2010-11-04Added missing style.css file to tutorialsBlaise Laflamme
2010-11-04- Move static dir from pkg/templates/ to /pkg/ in pyramid_* paster templates.Chris McDonough
2010-11-04Updated starter page in tutorialsBlaise Laflamme
2010-11-04fix wiki2 tutorial (it was busted)Chris McDonough
2010-11-04- The SQL Wiki tutorial was updated to take into account changes to theChris McDonough
``pyramid_routesalchemy`` paster template.
2010-10-25add httpexceptions docsChris McDonough
2010-10-25adjust wiki2 tutorial for pyramidChris McDonough