diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-06-01 07:02:21 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-06-01 07:02:21 +0000 |
| commit | c1278c88b6cd19ad81c96f8b8a66a01df23a6200 (patch) | |
| tree | 0c0bd0742c9aa7eae72a8e652e81c8d91ac7bb9b /docs | |
| parent | aff22be3468d594de35b2208bed1299aa9ba5074 (diff) | |
| download | pyramid-c1278c88b6cd19ad81c96f8b8a66a01df23a6200.tar.gz pyramid-c1278c88b6cd19ad81c96f8b8a66a01df23a6200.tar.bz2 pyramid-c1278c88b6cd19ad81c96f8b8a66a01df23a6200.zip | |
Add headers.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/hooks.rst | 3 | ||||
| -rw-r--r-- | docs/narr/security.rst | 2 | ||||
| -rw-r--r-- | docs/narr/urldispatch.rst | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index ace2c847b..533024352 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -164,6 +164,8 @@ code that implements a minimal forbidden view: an alterate forbidden view. For example, it would make sense to return a response with a ``403 Forbidden`` status code. +.. _changing_routes_context_factory: + Changing the Default Routes Context Factory ------------------------------------------- @@ -184,6 +186,7 @@ Python dotted name to the context factory you want to use. Here's some sample code that implements a minimal context factory: .. code-block:: python + :linenos: class RoutesContextFactory(object): def __init__(self, **kw): diff --git a/docs/narr/security.rst b/docs/narr/security.rst index e48922f59..52178fa26 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -110,6 +110,8 @@ normal application operations, the user will need to possess the Permission names are just strings. They hold no special significance to the system. You can name permissions whatever you like. +.. _assigning_acls: + Assigning ACLs to your Model Objects ------------------------------------ diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index f19faa031..cc8efb5b2 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -69,6 +69,8 @@ NotFound error to the user's browser when no routes match. .. note:: See :ref:`modelspy_project_section` for an example of a simple root factory callable that will use traversal. +.. _route_zcml_directive: + The ``route`` ZCML Directive ---------------------------- |
