summaryrefslogtreecommitdiff
path: root/docs/tutorials
AgeCommit message (Collapse)Author
2012-03-14Renamed db populate to initialize in SQL tutorialPatricio Paez
- Replaced populate_tutorial -> initialize_tutorial_db - Renamed populate.py -> initializedb.py - Updated references in the documenation
2012-03-14Removed populate tests from the SQL wiki tutorialPatricio Paez
- Removed the main() settings parameter in populate.py - Updated the Tests chapter
2012-03-14Merge branch 'master' into improve-docsPatricio Paez
2012-03-14Simplify the summary tablePatricio Paez
- Removed the Context column - Swapped Action and View columns
2012-03-13Wording improvements to Defining Views section of tutorial.Audrey Roy
2012-03-13Wording improvements to Defining Views section of tutorial.Audrey Roy
2012-03-13Merge pull request #478 from ↵Chris McDonough
shentonfreude/shentonfreude/bug.sqltut-test-populate-settings Shentonfreude/bug.sqltut test populate settings
2012-03-13Merge remote-tracking branch 'upstream/master' into ↵Chris Shenton
shentonfreude/bug.sqltut-test-populate-settings
2012-03-13Show modification to scripts/populate.py to accept memory DB URIChris Shenton
The text didn't describe editing the populate.py to accept an optional ``settings`` argument, which _callFUT() in tests.py passed in. This is used to specify a memory-backed SQLite DB which we can wipe-n-load during testing. Show how to replace main() in populate.py per our source code to accept this argument, and use it to set the DB URI; it also uses our Page model.
2012-03-13Improved the Authorization chapterPatricio Paez
- Highlighted the added lines in the listings - Simplified 'Viewing the application in a browser' and added link to Starting the application
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-02-14ignore venvs put into this dirChris McDonough
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-12-27gardenMichael Merickel
2011-12-27gardenMichael Merickel
2011-12-16- Removed the "Running Pyramid on Google App Engine" tutorial from the mainChris McDonough
docs. It survives on in the Cookbook (http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/gae.html). Rationale: it provides the correct info for the Python 2.5 version of GAE only, and this version of Pyramid does not support Python 2.5.
2011-11-28move code from login.py to views.py (like sqla tutorial)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-18- Fix ZODB tutorial docs to match ZODB tutorial code (I removed program nameChris McDonough
from ``scan``).
2011-11-12- The ``alchemy`` scaffold has been removed.Chris McDonough
- The ``routesalchemy`` scaffold has been renamed ``alchemy``.
2011-11-11make more relocatableChris McDonough
2011-11-10Merge pull request #350 from kenmanheimer/klm/docs.tutorialCarlos de la Guardia
various tutorial changes by Ken Manheimer
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-08Add a note flagging the only case where we might mislead the student tokenmanheimer
change substitute the package name they used with '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-08Use active ("Run the Tests") rather than passive ("Running the Tests")kenmanheimer
voice for the headings.
2011-11-08No longer using request.static_url() in the demos.kenmanheimer
2011-11-08Track change of the scaffolding file names, removing 'pyramid_' prefix.kenmanheimer