summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src
AgeCommit message (Collapse)Author
2013-09-08fix merge conflictChris McDonough
2013-09-06removed __init__ methods from SQLAlchemy models in the documentation because ↵sergey.volobuev
the latter generates a default constructor
2013-09-06update the code in the wiki and wiki2 tutorials to use pyramid_chameleonMichael Merickel
2013-08-03"Web Application Development Framework" -> "Web Framework". Yay.Paul Everitt
2013-04-02remove copyright bits from the tutorial examplesTshepang Lekhonkhobe
We don't want to have to keep remembering these if there's a change, and apparently it's also overkill, according to https://github.com/Pylons/pyramid/pull/953#issuecomment-15654314.
2013-03-13consistency: use $VENV whenever virtualenv binaries are usedTshepang Lekhonkhobe
2013-03-04fix #311Tshepang Lekhonkhobe
2012-12-02Sync tests.py and views.py in SQL wiki tutorialPatricio Paez
- No line references to update
2012-12-02Sync initializedb.py in SQL wiki tutorialPatricio Paez
2012-12-01Sync models.py in SQL wiki tutorialPatricio Paez
- Update lines and emphasized-lines - No line numbers if only a single line
2012-12-01Sync __init__.py in SQL wiki tutorialPatricio Paez
- Update lines and emphasized-lines - No line numbers if only a single line
2012-12-01Sync setup.py in SQL wiki tutorialPatricio Paez
2012-11-20Sync views.py on SQL wiki tutorial with the scaffoldPatricio Paez
- Explain the added lines in the Basic Layout chapter. - The user is told to remove the added lines in the Defining Views chapter, there was no need to fix any emphasized lines. - Sync the file in the other sections even if it is not shown, for consistency.
2012-11-19Sync some SQL wiki tutorial files with the scaffoldPatricio Paez
- Files that are not referred to in a literalinclude in the tutorial docs - setup.py appears in literalinclude, but no lines are added or removed so no impact. Fixed docutils order in the requires list.
2012-11-04merged SHA512AuthTktAuthenticationPolicy into AuthTktAuthenticationPolicyMichael Merickel
AuthTktAuthenticationPolicy now accepts a hashalg parameter and is no longer deprecated. Docs recommend overriding hashalg and using 'sha512'.
2012-11-04fix docs, upgrade tutorials, add change note, deprecate using ↵Chris McDonough
zope.deprecation instead of a warning, make hashalg arg a kwarg in certain cases in case someone (maybe me) is using nonapi function imports from authentication
2012-09-22- Add ``Base.metadata.bind = engine`` to alchemy template, so that tablesChris McDonough
defined imperatively will work. - update wiki2 SQLA tutorial with the changes required after inserting ``Base.metadata.bind = engine`` into the alchemy scaffold.
2012-09-17resolve contributors.txt merge conflictChris McDonough
2012-09-10change variable name ``name`` to ``pagename``Patricio Paez
- In the authorization and tests stages
2012-08-04change variable name ``name`` to ``pagename``, for consistency with the ↵Daniel Haaker
view_page function (and the matchdict key for that matter)
2012-07-29prettify CSS stored in docs tutorialsDavid Gay
2012-04-26Merge pull request #505 from muellert/masterMichael Merickel
code to implement the suggestion in issue #504
2012-04-08Normalize Authorization in both tutorials 3Patricio Paez
- Sync content in Adding Authentication and Authorization policies, Add permission declarations sections - Added mising permission=view in SQL tutorial - Moved __init__.py listing to Seeing our changes
2012-03-21generate more common filenames for sqlite and patch the wiki2Toni Mueller
tutorial, too
2012-03-17- Remove references to do-nothing ``pyramid.debug_templates`` setting in allChris McDonough
Pyramid-provided ``.ini`` files. This setting previously told Chameleon to render better exceptions; now Chameleon always renders nice exceptions regardless of the value of this setting. Fixes #491.
2012-03-14Fixed SQL tutorial functional tests for Python 3Patricio Paez
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-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-19use method-based setting of authorization and authentication policy (see ↵Chris McDonough
issue #398)
2012-01-04remove dependency on pysqlite from all scaffolding on platforms lt 2.6Chris McDonough
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-10-06remove all reference to the paster command-line utilityChris McDonough
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-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- 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-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-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