Browse files

[1.5.X] Fixed #9962 - Added a testing tutorial.

Thank-you Daniele Procida for the first draft
and shaibi, Aymeric, and others for the reviews.

Backport of b052e6c from master
  • Loading branch information...
timgraham committed Dec 15, 2012
1 parent 0c3e484 commit c252ed567c9844294bbe7924de62eb747d4cc0d9
Showing with 657 additions and 13 deletions.
  1. +2 −1 docs/index.txt
  2. +1 −0 docs/intro/index.txt
  3. +2 −2 docs/intro/reusable-apps.txt
  4. +2 −10 docs/intro/tutorial04.txt
  5. +650 −0 docs/intro/tutorial05.txt
@@ -44,7 +44,8 @@ Are you new to Django or to programming? This is the place to start!
:doc:`Part 1 <intro/tutorial01>` |
:doc:`Part 2 <intro/tutorial02>` |
:doc:`Part 3 <intro/tutorial03>` |
- :doc:`Part 4 <intro/tutorial04>`
+ :doc:`Part 4 <intro/tutorial04>` |
+ :doc:`Part 5 <intro/tutorial05>`
* **Advanced Tutorials:**
:doc:`How to write reusable apps <intro/reusable-apps>` |
@@ -13,6 +13,7 @@ place: read this material to quickly get up and running.
+ tutorial05
@@ -2,11 +2,11 @@
Advanced tutorial: How to write reusable apps
-This advanced tutorial begins where :doc:`Tutorial 4 </intro/tutorial04>` left
+This advanced tutorial begins where :doc:`Tutorial 5 </intro/tutorial05>` left
off. We'll be turning our Web-poll into a standalone Python package you can
reuse in new projects and share with other people.
-If you haven't recently completed Tutorials 1–4, we encourage you to review
+If you haven't recently completed Tutorials 1–5, we encourage you to review
these so that your example project matches the one described below.
Reusability matters
@@ -275,13 +275,5 @@ Run the server, and use your new polling app based on generic views.
For full details on generic views, see the :doc:`generic views documentation
-What's next?
-The beginner tutorial ends here for the time being. In the meantime, you might
-want to check out some pointers on :doc:`where to go from here
-If you are familiar with Python packaging and interested in learning how to
-turn polls into a "reusable app", check out :doc:`Advanced tutorial: How to
-write reusable apps</intro/reusable-apps>`.
+When you're comfortable with forms and generic views, read :doc:`part 5 of this
+tutorial</intro/tutorial05>` to learn about testing our polls app.
Oops, something went wrong.

0 comments on commit c252ed5

Please sign in to comment.