From ebd3449ac097b3501f36dd3e6bc6ad40559382a0 Mon Sep 17 00:00:00 2001 From: jay754 Date: Tue, 26 Mar 2013 14:23:47 -0400 Subject: [PATCH] Broken links fix on all chapters Broken links fix on all chapters --- chapter01.rst | 6 ++++-- chapter02.rst | 4 +++- chapter03.rst | 4 +++- chapter04.rst | 4 +++- chapter05.rst | 4 +++- chapter06.rst | 4 +++- chapter07.rst | 4 +++- chapter08.rst | 2 +- chapter09.rst | 2 +- chapter10.rst | 2 +- chapter11.rst | 2 +- chapter12.rst | 4 ++-- chapter13.rst | 2 +- chapter15.rst | 2 +- chapter16.rst | 2 +- chapter17.rst | 2 +- chapter18.rst | 2 +- chapter20.rst | 4 ++-- 18 files changed, 35 insertions(+), 21 deletions(-) diff --git a/chapter01.rst b/chapter01.rst index fc8f051..c817f0d 100644 --- a/chapter01.rst +++ b/chapter01.rst @@ -360,5 +360,7 @@ to database design, to deployment -- feel free to ask questions online. What's Next ----------- -In .. _chapter2: chapter02.rst/, we'll get started with Django, covering installation and -initial setup. \ No newline at end of file +In `Chapter 2`_, we'll get started with Django, covering installation and +initial setup. + +.. _Chapter 2: chapter02.rst/ \ No newline at end of file diff --git a/chapter02.rst b/chapter02.rst index c13df73..46ad399 100644 --- a/chapter02.rst +++ b/chapter02.rst @@ -500,4 +500,6 @@ What's Next? ============ Now that you have everything installed and the development server running, -you're ready to :doc: learn the basics .. _chapter3: chapter03.rst/ of serving Web pages with Django. \ No newline at end of file +you're ready to :doc: learn the basics `Chapter 3`_, of serving Web pages with Django. + +.. _Chapter 3: chapter03.rst/ \ No newline at end of file diff --git a/chapter03.rst b/chapter03.rst index f5834b2..93d716c 100644 --- a/chapter03.rst +++ b/chapter03.rst @@ -911,4 +911,6 @@ core concepts, but in the real world, this is nearly always a bad idea. Django ships with a simple yet powerful template engine that allows you to separate the design of the page from the underlying code. We'll dive into -Django's template engine in the :doc:`next chapter `. +Django's template engine in the :doc:`next chapter `Chapter 4`_. + +.. _Chapter 4: chapter04.rst/ \ No newline at end of file diff --git a/chapter04.rst b/chapter04.rst index 07f1013..457de5f 100644 --- a/chapter04.rst +++ b/chapter04.rst @@ -1610,5 +1610,7 @@ Many modern Web sites are *database-driven*: the content of the Web site is stored in a relational database. This allows a clean separation of data and logic (in the same way views and templates allow the separation of logic and display.) -The :doc:`next chapter ` covers the tools Django gives you to +The :doc:`next chapter `Chapter 5`_ covers the tools Django gives you to interact with a database. + +.. _Chapter 4: chapter04.rst/ \ No newline at end of file diff --git a/chapter05.rst b/chapter05.rst index d25994f..53b8274 100644 --- a/chapter05.rst +++ b/chapter05.rst @@ -1379,5 +1379,7 @@ user-submitted form data. But in some cases, you or your team might need to enter data manually, in which case it would be helpful to have a Web-based interface for entering and -managing data. The :doc:`next chapter ` covers Django's admin interface, which exists +managing data. The :doc:`next chapter `Chapter 6`_ covers Django's admin interface, which exists precisely for that reason. + +.. _Chapter 6: chapter06.rst/ \ No newline at end of file diff --git a/chapter06.rst b/chapter06.rst index 0e0d80c..39e57ad 100644 --- a/chapter06.rst +++ b/chapter06.rst @@ -984,5 +984,7 @@ What's Next? ============ So far we've created a few models and configured a top-notch interface for -editing data. In the :doc:`next chapter `, we'll move on to the real "meat and potatoes" +editing data. In the :doc:`next chapter `Chapter 7`_, we'll move on to the real "meat and potatoes" of Web development: form creation and processing. + +.. _Chapter 7: chapter07.rst/ \ No newline at end of file diff --git a/chapter07.rst b/chapter07.rst index 9b7ca36..8b8c044 100644 --- a/chapter07.rst +++ b/chapter07.rst @@ -1279,5 +1279,7 @@ After these first seven chapters, you should know enough to start writing your own Django projects. The rest of the material in this book will help fill in the missing pieces as you need them. -We'll start in :doc:`chapter08` by doubling back and taking a closer look at views +We'll start in `Chapter 8`_ by doubling back and taking a closer look at views and URLconfs (introduced first in :doc:`chapter03`). + +.. _chapter8: chapter08.rst/ \ No newline at end of file diff --git a/chapter08.rst b/chapter08.rst index e8ae15f..2eb2e60 100644 --- a/chapter08.rst +++ b/chapter08.rst @@ -1130,4 +1130,4 @@ This chapter has provided many advanced tips and tricks for views and URLconfs. Next, in `Chapter 9`_, we'll give this advanced treatment to Django's template system. -.. _Chapter 9: ../chapter09/ +.. _Chapter 9: ../chapter09/ \ No newline at end of file diff --git a/chapter09.rst b/chapter09.rst index 8c3ef35..c1d3325 100644 --- a/chapter09.rst +++ b/chapter09.rst @@ -1294,4 +1294,4 @@ What's Next Continuing this section's theme of advanced topics, the `next chapter`_ covers advanced usage of Django models. -.. _next chapter: ../chapter10/ +.. _next chapter: chapter10.rst/ \ No newline at end of file diff --git a/chapter10.rst b/chapter10.rst index 57befba..74677eb 100644 --- a/chapter10.rst +++ b/chapter10.rst @@ -598,4 +598,4 @@ What's Next? In the `next chapter`_, we'll show you Django's "generic views" framework, which lets you save time in building Web sites that follow common patterns. -.. _next chapter: ../chapter11/ +.. _next chapter: chapter11.rst/ \ No newline at end of file diff --git a/chapter11.rst b/chapter11.rst index 23626c0..81bb8cb 100644 --- a/chapter11.rst +++ b/chapter11.rst @@ -518,4 +518,4 @@ recommended reading if you want to get the most out of this powerful feature. This concludes the section of this book devoted to "advanced usage." In the `next chapter`_, we cover deployment of Django applications. -.. _next chapter: ../chapter12/ +.. _next chapter: chapter12.rst/ \ No newline at end of file diff --git a/chapter12.rst b/chapter12.rst index c19858f..ec21ea4 100644 --- a/chapter12.rst +++ b/chapter12.rst @@ -1073,7 +1073,7 @@ Of course, selecting memcached does you no good if you don't actually use it. framework, and use it everywhere possible. Aggressive, preemptive caching is usually the only thing that will keep a site up under major traffic. -.. _Chapter 15: ../chapter15/ +.. _Chapter 15: chapter15.rst/ Join the Conversation --------------------- @@ -1092,4 +1092,4 @@ What's Next? The remaining chapters focus on other Django features that you may or may not need, depending on your application. Feel free to read them in any order you -choose. +choose. \ No newline at end of file diff --git a/chapter13.rst b/chapter13.rst index 1ee45c1..25d686e 100644 --- a/chapter13.rst +++ b/chapter13.rst @@ -986,4 +986,4 @@ Next, we'll continue to dig deeper into the built-in tools Django gives you. `Chapter 14`_ looks at all the tools you need to provide user-customized sites: sessions, users, and authentication. -.. _Chapter 14: ../chapter14/ +.. _Chapter 14: chapter14.rst/ \ No newline at end of file diff --git a/chapter15.rst b/chapter15.rst index 53fd6b1..4fb3b3a 100644 --- a/chapter15.rst +++ b/chapter15.rst @@ -758,4 +758,4 @@ What's Next? Django ships with a number of "contrib" packages -- optional features that can make your life easier. We've already covered a few of these: the admin site (Chapter 6) and the session/user framework (Chapter 14). The next chapter -covers more of the "contributed" subframeworks. +covers more of the "contributed" subframeworks. \ No newline at end of file diff --git a/chapter16.rst b/chapter16.rst index 9d3d27a..bc4e962 100644 --- a/chapter16.rst +++ b/chapter16.rst @@ -946,4 +946,4 @@ and/or after every request and can modify requests and responses at will, to extend the framework. In the `next chapter`_, we'll discuss Django's built-in middleware and explain how you can write your own. -.. _next chapter: ../chapter17/ +.. _next chapter: chapter17.rst/ \ No newline at end of file diff --git a/chapter17.rst b/chapter17.rst index e7187d2..a80fad9 100644 --- a/chapter17.rst +++ b/chapter17.rst @@ -389,4 +389,4 @@ Web developers and database-schema designers don't always have the luxury of starting from scratch. In the `next chapter`_, we'll cover how to integrate with legacy systems, such as database schemas you've inherited from the 1980s. -.. _next chapter: ../chapter18/ +.. _next chapter: chapter18.rst/ \ No newline at end of file diff --git a/chapter18.rst b/chapter18.rst index 6ddb871..7a02c23 100644 --- a/chapter18.rst +++ b/chapter18.rst @@ -299,4 +299,4 @@ framework (and the hard work of Django's volunteer translators). The `next chapter`_ explains how to use this framework to provide localized Django sites. -.. _next chapter: ../chapter19/ +.. _next chapter: chapter19.rst/ \ No newline at end of file diff --git a/chapter20.rst b/chapter20.rst index 2dda91f..c21e2a0 100644 --- a/chapter20.rst +++ b/chapter20.rst @@ -516,5 +516,5 @@ your Django projects. We wish you the best of luck in running your Django site, whether it's a little toy for you and a few friends, or the next Google. -.. _Chapter 14: ../chapter14/ -.. _Chapter 16: ../chapter16/ +.. _Chapter 14: chapter14.rst/ +.. _Chapter 16: chapter16.rst/ \ No newline at end of file