Commit c32fc79a authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #19582 - Added a static files tutorial.

Thanks James Pic.
parent 9916e69b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -45,7 +45,8 @@ Are you new to Django or to programming? This is the place to start!
  :doc:`Part 2 <intro/tutorial02>` |
  :doc:`Part 3 <intro/tutorial03>` |
  :doc:`Part 4 <intro/tutorial04>` |
  :doc:`Part 5 <intro/tutorial05>`
  :doc:`Part 5 <intro/tutorial05>` |
  :doc:`Part 6 <intro/tutorial06>`

* **Advanced Tutorials:**
  :doc:`How to write reusable apps <intro/reusable-apps>` |
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ place: read this material to quickly get up and running.
   tutorial03
   tutorial04
   tutorial05
   tutorial06
   reusable-apps
   whatsnext
   contributing
+8 −4
Original line number Diff line number Diff line
@@ -2,11 +2,11 @@
Advanced tutorial: How to write reusable apps
=============================================

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.
This advanced tutorial begins where :doc:`Tutorial 6 </intro/tutorial06>`
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–5, we encourage you to review
If you haven't recently completed Tutorials 1–6, we encourage you to review
these so that your example project matches the one described below.

Reusability matters
@@ -67,6 +67,10 @@ After the previous tutorials, our project should look like this::
            admin.py
            models.py
            tests.py
            static/
                style.css
                images/
                    background.gif
            templates/
                polls/
                    detail.html
+5 −6
Original line number Diff line number Diff line
@@ -640,10 +640,9 @@ information about testing.
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>`.
For full details on testing, see :doc:`Testing in Django
</topics/testing/index>`.

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 testing Django views, read
:doc:`part 6 of this tutorial</intro/tutorial06>` to learn about
static files management.
Loading