diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 17:38:13 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 17:38:13 -0400 |
| commit | ae8e4ad63449212da28c6a169c36aac54ed38a9e (patch) | |
| tree | 830a4e3082d2eae5eaab9fa437bd83c10c1abd6f /docs/tutorials/bfgwiki/src/basiclayout | |
| parent | 3bea655f0147c9fc6ec948cbaf8ee7a5767eb045 (diff) | |
| download | pyramid-ae8e4ad63449212da28c6a169c36aac54ed38a9e.tar.gz pyramid-ae8e4ad63449212da28c6a169c36aac54ed38a9e.tar.bz2 pyramid-ae8e4ad63449212da28c6a169c36aac54ed38a9e.zip | |
convert bfgwiki tutorial to pyramid
Diffstat (limited to 'docs/tutorials/bfgwiki/src/basiclayout')
3 files changed, 18 insertions, 18 deletions
diff --git a/docs/tutorials/bfgwiki/src/basiclayout/setup.py b/docs/tutorials/bfgwiki/src/basiclayout/setup.py index 35cf22893..f4a011c7e 100644 --- a/docs/tutorials/bfgwiki/src/basiclayout/setup.py +++ b/docs/tutorials/bfgwiki/src/basiclayout/setup.py @@ -7,7 +7,7 @@ README = open(os.path.join(here, 'README.txt')).read() CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() requires = [ - 'repoze.bfg', + 'pyramid', 'docutils', 'ZODB3', 'repoze.zodbconn', @@ -20,7 +20,7 @@ setup(name='tutorial', long_description=README + '\n\n' + CHANGES, classifiers=[ "Intended Audience :: Developers", - "Framework :: BFG", + "Framework :: Pylons", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", @@ -28,7 +28,7 @@ setup(name='tutorial', author='', author_email='', url='', - keywords='web wsgi bfg', + keywords='web wsgi pylons pyramid bfg', packages=find_packages(), include_package_data=True, zip_safe=False, diff --git a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/configure.zcml b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/configure.zcml index 04e7d908d..4e83227bb 100644 --- a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/configure.zcml +++ b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/configure.zcml @@ -1,7 +1,7 @@ -<configure xmlns="http://namespaces.repoze.org/bfg"> +<configure xmlns="http://pylonshq.com/pyramid"> <!-- this must be included for the view declarations to work --> - <include package="repoze.bfg.includes" /> + <include package="pyramid.includes" /> <view context=".models.MyModel" diff --git a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/templates/mytemplate.pt b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/templates/mytemplate.pt index 767252554..9178b5866 100644 --- a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/templates/mytemplate.pt +++ b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/templates/mytemplate.pt @@ -5,13 +5,13 @@ <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>${project} Application</title> <meta name="keywords" content="python web application" /> -<meta name="description" content="repoze.bfg web application" /> +<meta name="description" content="pyramid web application" /> <link href="${request.application_url}/static/default.css" rel="stylesheet" type="text/css" /> </head> <body> <!-- start header --> <div id="logo"> - <h2><code>${project}</code>, a <code>repoze.bfg</code> application</h2> + <h2><code>${project}</code>, a <code>Pyramid</code> application</h2> </div> <div id="header"> <div id="menu"> @@ -26,7 +26,7 @@ <div class="post"> <h1 class="title">Welcome to <code>${project}</code>, an application generated by the <a - href="http://bfg.repoze.org">repoze.bfg</a> web + href="http://pylonshq.com/pyramid">Pyramid</a> web application framework.</h1> </div> </div> @@ -35,9 +35,9 @@ <div id="sidebar"> <ul> <li id="search"> - <h2>Search<br/> <code>repoze.bfg</code> Documentation</h2> + <h2>Search<br/> <code>Pyramid</code> Documentation</h2> <form method="get" - action="http://bfg.repoze.org/searchresults"> + action="http://pylonshq.com/docs/pyramid/current/searchresults"> <fieldset> <input type="text" id="q" name="text" value="" /> <input type="submit" id="x" value="Search" /> @@ -45,39 +45,39 @@ </form> </li> <li> - <h2><code>repoze.bfg</code> links</h2> + <h2><code>Pyramid</code> links</h2> <ul> <li><a - href="http://docs.repoze.org/bfg/#narrative-documentation">Narrative + href="http://pylonshq.com/docs/pyramid/current/#narrative-documentation">Narrative Documentation</a> </li> <li> <a - href="http://docs.repoze.org/bfg/#api-documentation">API + href="http://pylonshq.com/docs/pyramid/current/#api-documentation">API Documentation</a> </li> <li> <a - href="http://docs.repoze.org/bfg/#tutorials">Tutorials</a> + href="http://pylonshq.com/docs/pyramid/current/#tutorials">Tutorials</a> </li> <li> <a - href="http://docs.repoze.org/bfg/#change-history">Change + href="http://pylonshq.com/docs/pyramid/current/#change-history">Change History</a> </li> <li> <a - href="http://docs.repoze.org/bfg/#sample-applications">Sample + href="http://pylonshq.com/docs/pyramid/current/#sample-applications">Sample Applications</a> </li> <li> <a - href="http://docs.repoze.org/bfg/#support-and-development">Support + href="http://pylonshq.com/docs/pyramid/current/#support-and-development">Support and Development</a> </li> <li> <a - href="irc://irc.freenode.net#repoze">IRC Channel</a> + href="irc://irc.freenode.net#pylons">IRC Channel</a> </li> </ul> </li> |
