Permalink
Browse files

Fixed #9962 - Added a testing tutorial.

Thank-you Daniele Procida for the first draft
and shaibi, Aymeric, and others for the reviews.
  • Loading branch information...
1 parent 3984ccb commit b052e6cc959b540e4d1de8a747689c25c6aeace9 @timgraham timgraham committed Dec 15, 2012
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
View
@@ -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.
tutorial02
tutorial03
tutorial04
+ tutorial05
reusable-apps
whatsnext
contributing
@@ -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
</topics/class-based-views/index>`.
-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
-</intro/whatsnext>`.
-
-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 b052e6c

Please sign in to comment.