summaryrefslogtreecommitdiff
path: root/docs/narr/MyProject
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr/MyProject')
-rw-r--r--docs/narr/MyProject/development.ini15
-rw-r--r--docs/narr/MyProject/myproject/templates/mytemplate.pt14
-rw-r--r--docs/narr/MyProject/production.ini13
-rw-r--r--docs/narr/MyProject/setup.py2
4 files changed, 23 insertions, 21 deletions
diff --git a/docs/narr/MyProject/development.ini b/docs/narr/MyProject/development.ini
index 29486ce56..1818e387b 100644
--- a/docs/narr/MyProject/development.ini
+++ b/docs/narr/MyProject/development.ini
@@ -1,15 +1,16 @@
[app:MyProject]
use = egg:MyProject
-reload_templates = true
-debug_authorization = false
-debug_notfound = false
-debug_routematch = false
-debug_templates = true
-default_locale_name = en
+
+pyramid.reload_templates = true
+pyramid.debug_authorization = false
+pyramid.debug_notfound = false
+pyramid.debug_routematch = false
+pyramid.debug_templates = true
+pyramid.default_locale_name = en
+pyramid.include = pyramid_debugtoolbar
[pipeline:main]
pipeline =
- egg:WebError#evalerror
MyProject
[server:main]
diff --git a/docs/narr/MyProject/myproject/templates/mytemplate.pt b/docs/narr/MyProject/myproject/templates/mytemplate.pt
index 632c34876..97f1e1aa3 100644
--- a/docs/narr/MyProject/myproject/templates/mytemplate.pt
+++ b/docs/narr/MyProject/myproject/templates/mytemplate.pt
@@ -46,7 +46,7 @@
<div id="left" class="align-right">
<h2>Search documentation</h2>
<form method="get"
- action="http://docs.pylonsproject.org/pyramid/dev/search.html">
+ action="http://docs.pylonsproject.org/pyramid/current/search.html">
<input type="text" id="q" name="q" value="" />
<input type="submit" id="x" value="Go" />
</form>
@@ -60,32 +60,32 @@
</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/dev/#narrative-documentation">
+ <a href="http://docs.pylonsproject.org/projects/pyramid/current/#narrative-documentation">
Narrative Documentation
</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/dev/#api-documentation">
+ <a href="http://docs.pylonsproject.org/projects/pyramid/current/#api-documentation">
API Documentation
</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/dev/#tutorials">
+ <a href="http://docs.pylonsproject.org/projects/pyramid/current/#tutorials">
Tutorials
</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/dev/#change-history">
+ <a href="http://docs.pylonsproject.org/projects/pyramid/current/#change-history">
Change History
</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/dev/#sample-applications">
+ <a href="http://docs.pylonsproject.org/projects/pyramid/current/#sample-applications">
Sample Applications
</a>
</li>
<li>
- <a href="http://docs.pylonsproject.org/projects/pyramid/dev/#support-and-development">
+ <a href="http://docs.pylonsproject.org/projects/pyramid/current/#support-and-development">
Support and Development
</a>
</li>
diff --git a/docs/narr/MyProject/production.ini b/docs/narr/MyProject/production.ini
index c1d0eee82..7a5674d23 100644
--- a/docs/narr/MyProject/production.ini
+++ b/docs/narr/MyProject/production.ini
@@ -1,11 +1,12 @@
[app:MyProject]
use = egg:MyProject
-reload_templates = false
-debug_authorization = false
-debug_notfound = false
-debug_routematch = false
-debug_templates = false
-default_locale_name = en
+
+pyramid.reload_templates = false
+pyramid.debug_authorization = false
+pyramid.debug_notfound = false
+pyramid.debug_routematch = false
+pyramid.debug_templates = false
+pyramid.default_locale_name = en
[filter:weberror]
use = egg:WebError#error_catcher
diff --git a/docs/narr/MyProject/setup.py b/docs/narr/MyProject/setup.py
index a64d65ba6..a0b6fab9e 100644
--- a/docs/narr/MyProject/setup.py
+++ b/docs/narr/MyProject/setup.py
@@ -6,7 +6,7 @@ here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
-requires = ['pyramid', 'WebError']
+requires = ['pyramid', 'pyramid_debugtoolbar', 'WebError']
setup(name='MyProject',
version='0.0',