summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-08issue warnings when custom_predicates argument is used to add_route or add_viewChris McDonough
2013-09-08gardenChris McDonough
2013-09-08- The ``renderer_globals_factory`` argument to theChris McDonough
``pyramid.config.Configurator` constructor and its ``setup_registry`` method has been removed. The ``set_renderer_globals_factory`` method of ``pyramid.config.Configurator`` has also been removed. The (internal) ``pyramid.interfaces.IRendererGlobals`` interface was also removed. These arguments, methods and interfaces had been deprecated since 1.1. Use a ``BeforeRender`` event subscriber as documented in the "Hooks" chapter of the Pyramid narrative documentation instead of providing renderer globals values to the configurator.
2013-09-08- Removed ancient backwards compatibily hack inChris McDonough
``pyramid.traversal.DefaultRootFactory`` which populated the ``__dict__`` of the factory with the matchdict values for compatibility with BFG 0.9.
2013-09-08updateChris McDonough
2013-09-08- Removed the ability to influence and query a ``pyramid.request.Request``Chris McDonough
object as if it were a dictionary. Previously it was possible to use methods like ``__getitem__``, ``get``, ``items``, and other dictlike methods to access values in the WSGI environment. This behavior had been deprecated since Pyramid 1.1. Use methods of ``request.environ`` (a real dictionary) instead.
2013-09-08- Removed the ability to pass the following arguments toChris McDonough
``pyramid.config.Configurator.add_route``: `view``, ``view_context``. ``view_for``, ``view_permission``, ``view_renderer``, and ``view_attr``. Using these arguments had been deprecated since Pyramid 1.1. Instead of passing view-related arguments to ``add_route``, use a separate call to ``pyramid.config.Configurator.add_view`` to associate a view with a route using its ``route_name`` argument. Note that this impacts the ``pyramid.config.Configurator.add_static_view`` function too, because it delegates to ``add_route``.
2013-09-08- Removed the ``pyramid.view.is_response`` function that had been deprecatedChris McDonough
since Pyramid 1.1. Use the ``pyramid.request.Request.is_response`` method instead.
2013-09-08- Removed the class named ``pyramid.view.static`` that had been deprecatedChris McDonough
since Pyramid 1.1. Instead use ``pyramid.static.static_view`` with ``use_subpath=True`` argument.
2013-09-08move test to more correct location, 79 colsChris McDonough
2013-09-08wordingChris McDonough
2013-09-08Merge branch 'bertjwregeer-feature/allow_dotted_predicates'Chris McDonough
2013-09-08Add feature update to CHANGES.txtBert JW Regeer
2013-09-08Remove useless spaces.Bert JW Regeer
2013-09-08Deprecate custom_predicates for add_view/add_routeBert JW Regeer
2013-09-08Update documentation to reflect the dotted python nameBert JW Regeer
2013-09-08Small change to allow predicates to be Python Dotted NamesBert JW Regeer
This allows a {view,route,subscriber} predicate factory to be named as a python dotted name that is then automatically resolved. Includes tests.
2013-09-08fix docs after removing bfg conversion chapter, add a prominent link to the ↵Chris McDonough
quick tour
2013-09-08remove bfg conversion chapterChris McDonough
2013-09-08Merge branch 'mmerickel-feature.rendering-doc-updates'Chris McDonough
2013-09-08fix merge conflictChris McDonough
2013-09-07- The ``pyramid.events.NewResponse`` event is now sent **after** responseChris McDonough
callbacks are executed. It previously executed before response callbacks were executed. Rationale: it's more useful to be able to inspect the response after response callbacks have done their jobs instead of before. Closes #1116.
2013-09-07single line importChris McDonough
2013-09-07unused importsChris McDonough
2013-09-07make the right assertions about this caseChris McDonough
2013-09-07add change notesChris McDonough
2013-09-07Merge branch 'bertjwregeer-feature/split_renderers_from_pyramid'Chris McDonough
2013-09-07Merge branch 'feature/split_renderers_from_pyramid' of ↵Chris McDonough
github.com:bertjwregeer/pyramid into bertjwregeer-feature/split_renderers_from_pyramid
2013-09-07Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2013-09-06Merge pull request #1112 from dhellmann/bug/namespace-packagesChris McDonough
Update package_name() to work with namespace pkgs
2013-09-06Merge pull request #1115 from bertjwregeer/docs/remove_init_sqlalchemyMichael Merickel
Docs: remove init sqlalchemy
2013-09-06Update line numbers as appropriateBert JW Regeer
Removing __init__ moved some code around, update the line numbers as appropriate so that the right sections of code get highlighted.
2013-09-06Add small note showing example usage of MyModelBert JW Regeer
2013-09-06removed MyModel.__init__ from the scaffoldssergey.volobuev
2013-09-06changed the explanation of the (now missing) __init__ methodsergey.volobuev
2013-09-06removed __init__ methods from SQLAlchemy models in the documentation because ↵sergey.volobuev
the latter generates a default constructor
2013-09-06Merge branch 'master' into feature/split_chameleon_from_pyramidBert JW Regeer
Merge in latest changes from master.
2013-09-06Remove un-used Dummies: DummyFactory/DummyRendererInfoBert JW Regeer
2013-09-06Add pragma: nocover due to Py3x/Py2x differencesBert JW Regeer
2013-09-06Remove _registerRenderer function from testsBert JW Regeer
It is no longer used, and thus wasn't covered.
2013-09-06Remove useless function that was used only for ChameleonBert JW Regeer
2013-09-06Add test to verify renders don't add response to RequestBert JW Regeer
We already added a test that verified that a renderer no longer mutated request.response, now we also have a test that verifies that if no response exists, then it won't be touched either.
2013-09-06Update package_name() to work with namespace pkgsDoug Hellmann
The logic in pyramid.path.package_name() should take into account the fact that namespace packages created by setuptools do not have __init__.py[c] files, and so they have no __file__ attribute. This resolves an issue with WSME (https://bugs.launchpad.net/wsme/+bug/1221201) Change-Id: I39bc32a9c38fa11c4cef22a041077ed9001091be
2013-09-06apostropheMichael Merickel
2013-09-06update scaffolds to require pyramid_chameleonMichael Merickel
2013-09-06fix some more broken referencesMichael Merickel
2013-09-06update the code in the wiki and wiki2 tutorials to use pyramid_chameleonMichael Merickel
2013-09-05Fix tests on Python 3.xBert JW Regeer
2013-09-05Fix DummyRequest so that response is created each timeBert JW Regeer
Due to only creating the DummyRequest once various mutations were bleeding across various different tests. With hilarious results.
2013-09-05remove chameleon refs from asset specsMichael Merickel