Date: 2005-04-15 10:36:40 -0600 (Fri, 15 Apr 2005)
New Revision: 2340
--- WSGIKit/trunk/docs/TodoTutorial.txt 2005-04-15 16:30:18 UTC (rev 2339)
+++ WSGIKit/trunk/docs/TodoTutorial.txt 2005-04-15 16:36:40 UTC (rev 2340)
@@ -26,7 +26,7 @@
- We're doing all this in the Python, even though you'd normally do
+ We're doing all this in the Python interpreter, even though you'd normally do
some of this in the shell. This way the authors of this tutorial
can use something called doctest_, which allows this tutorial to
be tested Python in an automated way.
@@ -37,7 +37,7 @@
>>> from wsgikit.tests.doctest_webapp import *
-Lets start out quickly. We'll be installing the application in
+Let's start out quickly. We'll be installing the application in
.. comment (setup)
@@ -117,7 +117,7 @@
This defines the look of our application -- changes we make here
- effect all pages in the application.
+ affect all pages in the application.
This is a template for a single servlet (the ``index`` servlet, in
@@ -180,9 +180,9 @@
serves on port 8080 (use ``port = 80`` to make it the default
server). However, this default server (WSGIUtils) is not suggested
for production use. Twisted includes a better WSGI server, and there
-are a variety of ways to connection your application to Apache or
+are a variety of ways to connect your application to Apache or
IIS. We'll ignore those deployment issues now, though, and just use
Looking at servlets
@@ -259,7 +259,7 @@
``metal:use-macro`` says that this page will define slots that
- will be inserted in to the ``page`` macro in
+ will be inserted into the ``page`` macro in
``standard_template.pt`` -- this is another way of saying that
``standard_template.pt`` gives the look and layout of the page.
This is different than many templating systems where you include a
@@ -333,9 +333,9 @@
formal concept of a model in this tutorial.
The first thing we'll set up is a database connection. This example
-uses SQLObject_, which is a object-relationer mapper -- basically it
+uses SQLObject_, which is a object-relational mapper -- basically it
makes your database tables look like Python classes, and each row in
-those tables are instances of those classes.
+those tables is an instance of those classes.
We'll be creating two tables:
@@ -479,7 +479,7 @@
It prints nothing on success (or use ``-v`` or even ``-vv`` to get
-Now, lets put in just a little data for later::
+Now, let's put in just a little data for later::
$ sqlobject-admin execute -f server.conf "INSERT INTO
todo_list (description) VALUES ('test 1')"