summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/definingviews.rst
diff options
context:
space:
mode:
authorJohn Shipman <john@rainbow.nmt.edu>2011-01-15 14:45:17 -0700
committerJohn Shipman <john@rainbow.nmt.edu>2011-01-15 14:45:17 -0700
commit6471d307be249dc2aa22ab65128e8c2a0404ff79 (patch)
treeb2fa9f8700225df0da5624a109cdfc851e0a2776 /docs/tutorials/wiki2/definingviews.rst
parenta063aff1b0a9fe1f9d8c4a4baeade6453695f171 (diff)
downloadpyramid-6471d307be249dc2aa22ab65128e8c2a0404ff79.tar.gz
pyramid-6471d307be249dc2aa22ab65128e8c2a0404ff79.tar.bz2
pyramid-6471d307be249dc2aa22ab65128e8c2a0404ff79.zip
General reformatting of the wiki and wiki2 tutorials to eliminate
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)
Diffstat (limited to 'docs/tutorials/wiki2/definingviews.rst')
-rw-r--r--docs/tutorials/wiki2/definingviews.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst
index d4417ed0b..acf539e1a 100644
--- a/docs/tutorials/wiki2/definingviews.rst
+++ b/docs/tutorials/wiki2/definingviews.rst
@@ -213,6 +213,7 @@ the below:
.. literalinclude:: src/views/tutorial/templates/view.pt
:language: xml
+ :tab-width: 2
.. note:: The names available for our use in a template are always
those that are present in the dictionary returned by the view
@@ -240,6 +241,8 @@ the below:
.. literalinclude:: src/views/tutorial/templates/edit.pt
:language: xml
+ :tab-width: 2
+
Static Assets
-------------