diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2009-12-26 06:37:26 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2009-12-26 06:37:26 +0000 |
| commit | adb74a8f2eaa3854ff59da30d2261a18415327cc (patch) | |
| tree | 69a938143e55719ba15d60e234b916f29b8481d3 /docs/ref | |
| parent | 66ef91d02ae43c2b4290ca98ce13d098a7953b90 (diff) | |
Fixed several broken and redirecting URLs in the documentation (fixes #12219, refs #12427).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/flatpages.txt | 1 | ||||
| -rw-r--r-- | docs/ref/contrib/index.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/localflavor.txt | 10 | ||||
| -rw-r--r-- | docs/ref/contrib/syndication.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/fields.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 | ||||
| -rw-r--r-- | docs/ref/settings.txt | 9 | ||||
| -rw-r--r-- | docs/ref/unicode.txt | 6 |
8 files changed, 16 insertions, 18 deletions
diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt index 875a1c05e5..f934919412 100644 --- a/docs/ref/contrib/flatpages.txt +++ b/docs/ref/contrib/flatpages.txt @@ -26,7 +26,6 @@ content in a custom template. Here are some examples of flatpages on Django-powered sites: - * http://www.chicagocrime.org/about/ * http://www.everyblock.com/about/ * http://www.lawrence.com/about/contact/ diff --git a/docs/ref/contrib/index.txt b/docs/ref/contrib/index.txt index 7b07f920ae..2d15c25dfe 100644 --- a/docs/ref/contrib/index.txt +++ b/docs/ref/contrib/index.txt @@ -19,7 +19,7 @@ those packages have. ``'django.contrib.admin'``) to your ``INSTALLED_APPS`` setting and re-run ``manage.py syncdb``. -.. _"batteries included" philosophy: http://docs.python.org/tut/node12.html#batteries-included +.. _"batteries included" philosophy: http://docs.python.org/tutorial/stdlib.html#batteries-included .. toctree:: :maxdepth: 1 diff --git a/docs/ref/contrib/localflavor.txt b/docs/ref/contrib/localflavor.txt index d0e9b7f8e7..660b7c623b 100644 --- a/docs/ref/contrib/localflavor.txt +++ b/docs/ref/contrib/localflavor.txt @@ -168,7 +168,7 @@ Austria (``at``) .. class:: at.forms.ATStateSelect - A ``Select`` widget that uses a list of Austrian states as its choices. + A ``Select`` widget that uses a list of Austrian states as its choices. .. class:: at.forms.ATSocialSecurityNumberField @@ -518,7 +518,7 @@ Romania (``ro``) .. class:: ro.forms.ROIBANField - A form field that validates its input as a Romanian International Bank + A form field that validates its input as a Romanian International Bank Account Number (IBAN). The valid format is ROXX-XXXX-XXXX-XXXX-XXXX-XXXX, with or without hyphens. @@ -634,7 +634,7 @@ Sweden (``se``) A \+ indicates that the person is older than 100 years, which will be taken into consideration when the date is validated. - + The checksum will be calculated and checked. The birth date is checked to be a valid date. @@ -650,7 +650,7 @@ Sweden (``se``) Valid codes consist of five digits (XXXXX). The number can optionally be formatted with a space after the third digit (XXX XX). - The cleaned value will never contain the space. + The cleaned value will never contain the space. Switzerland (``ch``) ==================== @@ -683,7 +683,7 @@ United Kingdom (``uk``) A form field that validates input as a UK postcode. The regular expression used is sourced from the schema for British Standard BS7666 - address types at http://www.govtalk.gov.uk/gdsc/schemas/bs7666-v2-0.xsd. + address types at http://www.cabinetoffice.gov.uk/media/291293/bs7666-v2-0.xml. .. class:: uk.forms.UKCountySelect diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt index cb9c22b8bd..c27666303c 100644 --- a/docs/ref/contrib/syndication.txt +++ b/docs/ref/contrib/syndication.txt @@ -940,7 +940,7 @@ attributes. Thus, you can subclass the appropriate feed generator class (``Atom1Feed`` or ``Rss201rev2Feed``) and extend these callbacks. They are: .. _georss: http://georss.org/ -.. _itunes podcast format: http://www.apple.com/itunes/store/podcaststechspecs.html +.. _itunes podcast format: http://www.apple.com/itunes/podcasts/specs.html ``SyndicationFeed.root_attributes(self, )`` Return a ``dict`` of attributes to add to the root feed element diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index cd8cdc7a01..3c1106a217 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -555,7 +555,7 @@ By default, :class:`FileField` instances are created as ``varchar(100)`` columns in your database. As with other fields, you can change the maximum length using the :attr:`~CharField.max_length` argument. -.. _`strftime formatting`: http://docs.python.org/lib/module-time.html#l2h-1941 +.. _`strftime formatting`: http://docs.python.org/library/time.html#time.strftime ``FilePathField`` ----------------- diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 071e8b6449..e261e3bbe2 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -94,7 +94,7 @@ the query construction and is not part of the public API. However, it is safe (and fully supported) to pickle and unpickle the attribute's contents as described here. -.. _pickle: http://docs.python.org/lib/module-pickle.html +.. _pickle: http://docs.python.org/library/pickle.html .. _queryset-api: diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 16dc276b99..8cbc9ccc8f 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -341,7 +341,7 @@ Supported for the PostgreSQL_ (``postgresql``, ``postgresql_psycopg2``) and MySQL_ (``mysql``) backends. .. _PostgreSQL: http://www.postgresql.org/docs/8.2/static/multibyte.html -.. _MySQL: http://www.mysql.org/doc/refman/5.0/en/charset-database.html +.. _MySQL: http://dev.mysql.com/doc/refman/5.0/en/charset-database.html .. setting:: TEST_COLLATION @@ -353,10 +353,9 @@ Default: ``None`` The collation order to use when creating the test database. This value is passed directly to the backend, so its format is backend-specific. -Only supported for the ``mysql`` backend (see `section 10.3.2`_ of the MySQL -manual for details). +Only supported for the ``mysql`` backend (see the `MySQL manual`_ for details). -.. _section 10.3.2: http://www.mysql.org/doc/refman/5.0/en/charset-database.html +.. _MySQL manual: MySQL_ .. setting:: TEST_NAME @@ -734,7 +733,7 @@ system's standard umask. get totally incorrect behavior. -.. _documentation for os.chmod: http://docs.python.org/lib/os-file-dir.html +.. _documentation for os.chmod: http://docs.python.org/library/os.html#os.chmod .. setting:: FIRST_DAY_OF_WEEK diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt index 2f23354914..a6149119bf 100644 --- a/docs/ref/unicode.txt +++ b/docs/ref/unicode.txt @@ -21,8 +21,8 @@ data. Normally, this means giving it an encoding of UTF-8 or UTF-16. If you use a more restrictive encoding -- for example, latin1 (iso8859-1) -- you won't be able to store certain characters in the database, and information will be lost. - * MySQL users, refer to the `MySQL manual`_ (section 10.3.2 for MySQL 5.1) for - details on how to set or alter the database character set encoding. + * MySQL users, refer to the `MySQL manual`_ (section 9.1.3.2 for MySQL 5.1) + for details on how to set or alter the database character set encoding. * PostgreSQL users, refer to the `PostgreSQL manual`_ (section 21.2.2 in PostgreSQL 8) for details on creating databases with the correct encoding. @@ -30,7 +30,7 @@ able to store certain characters in the database, and information will be lost. * SQLite users, there is nothing you need to do. SQLite always uses UTF-8 for internal encoding. -.. _MySQL manual: http://www.mysql.org/doc/refman/5.1/en/charset-database.html +.. _MySQL manual: http://dev.mysql.com/doc/refman/5.1/en/charset-database.html .. _PostgreSQL manual: http://www.postgresql.org/docs/8.2/static/multibyte.html#AEN24104 All of Django's database backends automatically convert Unicode strings into |
