diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-29 05:09:56 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-29 05:09:56 +0000 |
| commit | 27477816ba22b1f1edead0c4ec6efe5459b33e94 (patch) | |
| tree | c7429964ae08090b0e93a6ac5e32de596e1e3e59 /docs/tutorials/bfgwiki | |
| parent | e6f681fdca19490f9f7bb6274a38d0784ce3daac (diff) | |
| download | pyramid-27477816ba22b1f1edead0c4ec6efe5459b33e94.tar.gz pyramid-27477816ba22b1f1edead0c4ec6efe5459b33e94.tar.bz2 pyramid-27477816ba22b1f1edead0c4ec6efe5459b33e94.zip | |
Overlong lines.
Fix table.
Diffstat (limited to 'docs/tutorials/bfgwiki')
5 files changed, 23 insertions, 15 deletions
diff --git a/docs/tutorials/bfgwiki/installation.rst b/docs/tutorials/bfgwiki/installation.rst index 7955e7c9c..e66b40d0a 100644 --- a/docs/tutorials/bfgwiki/installation.rst +++ b/docs/tutorials/bfgwiki/installation.rst @@ -51,12 +51,14 @@ Preparation, UNIX #. (Optional) Consider using ``source bin/activate`` to make your shell environment wired to use the virtualenv. -#. Use ``easy_install`` and point to the BFG "1.2" index to get - :mod:`repoze.bfg` and its direct dependencies installed: +#. Use ``easy_install`` and point to the :mod:`repoze.bfg` "current" + index to get :mod:`repoze.bfg` and its direct dependencies + installed: .. code-block:: bash - $ bin/easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg + $ bin/easy_install -i http://dist.repoze.org/bfg/current/simple \ + repoze.bfg #. Use ``easy_install`` to install ``docutils``, ``repoze.tm``, ``repoze.zodbconn``, ``repoze.who``, ``nose`` and ``coverage`` from @@ -104,13 +106,14 @@ Preparation, Windows #. (Optional) Consider using ``bin\activate.bat`` to make your shell environment wired to use the virtualenv. -#. Use ``easy_install`` and point to the BFG "1.2" index to get - :mod:`repoze.bfg` and its direct dependencies installed: +#. Use ``easy_install`` and point to the :mod:`repoze.bfg` "current" + index to get :mod:`repoze.bfg` and its direct dependencies + installed: .. code-block:: bat - c:\bigfntut> Scripts/easy_install -i http://dist.repoze.org/bfg/1.2/simple \ - repoze.bfg + c:\bigfntut> Scripts/easy_install -i \ + http://dist.repoze.org/bfg/current/simple repoze.bfg #. Use ``easy_install`` to install ``docutils``, ``repoze.tm``, ``repoze.zodbconn``, ``repoze.who``, ``nose`` and ``coverage`` from @@ -118,7 +121,8 @@ Preparation, Windows .. code-block:: bat - c:\bigfntut> Scripts\easy_install -i http://dist.repoze.org/bfgsite/simple \ + c:\bigfntut> Scripts\easy_install -i \ + http://dist.repoze.org/bfgsite/simple \ docutils repoze.tm repoze.zodbconn repoze.who nose coverage .. _making_a_project: diff --git a/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt b/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt index abe068352..12288d43d 100644 --- a/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt +++ b/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt @@ -17,9 +17,10 @@ <div class="main_content"> <div style="float:right; width: 10em;"> Viewing <span tal:replace="page.__name__">Page Name Goes Here</span> <br/> - You can return to the <a href="${request.application_url}">FrontPage</a>. - <span tal:condition="logged_in"><a href="${request.application_url}/logout"> - Logout</a></span> + You can return to the <a href="${request.application_url}" + >FrontPage</a>. + <span tal:condition="logged_in"><a + href="${request.application_url}/logout">Logout</a></span> </div> <div> diff --git a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py index 7d4220717..15f5d84a4 100644 --- a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py +++ b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py @@ -6,7 +6,8 @@ from tutorial.models import appmaker def app(global_config, **settings): """ This function returns a ``repoze.bfg`` WSGI application. - It is usually called by the PasteDeploy framework during ``paster serve``. + It is usually called by the PasteDeploy framework during + ``paster serve``. """ zodb_uri = settings.get('zodb_uri') if zodb_uri is None: diff --git a/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt b/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt index 9035d6225..5b9a3da31 100644 --- a/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt +++ b/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt @@ -18,7 +18,8 @@ <div class="main_content"> <div style="float:right; width: 10em;"> Viewing <span tal:replace="page.__name__">Page Name Goes Here</span> <br/> -You can return to the <a href="${request.application_url}">FrontPage</a>. +You can return to the +<a href="${request.application_url}">FrontPage</a>. </div> <div tal:replace="structure content">Page text goes here.</div> diff --git a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py index bbf86633a..1ebdbf63e 100644 --- a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py +++ b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py @@ -86,8 +86,9 @@ class AddPageTests(unittest.TestCase): request.subpath = ['AnotherPage'] info = self._callFUT(context, request) self.assertEqual(info['page'].data,'') - self.assertEqual(info['save_url'], - model_url(context, request, 'add_page', 'AnotherPage')) + self.assertEqual( + info['save_url'], + model_url(context, request, 'add_page', 'AnotherPage')) def test_it_submitted(self): context = testing.DummyModel() |
