diff options
| author | Tim Graham <timograham@gmail.com> | 2012-12-25 03:40:08 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-12-25 04:46:28 -0500 |
| commit | 1c1df12388e394b7f1dc3949d23b99fa80cf6f6a (patch) | |
| tree | abc017b33d0327c215fd0ef9a62abd46c55fba9c /docs/ref/models | |
| parent | 8738da03c623c702aa57a90216bde0e70f42a957 (diff) | |
[1.5.X] Fixed more broken links. refs #19516
Backport of 9c5a6adf33 from master
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/fields.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/options.txt | 6 | ||||
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index cd1185585c..a33c985e2c 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -919,7 +919,7 @@ A :class:`CharField` for a URL. The default form widget for this field is a :class:`~django.forms.TextInput`. Like all :class:`CharField` subclasses, :class:`URLField` takes the optional -:attr:`~CharField.max_length`argument. If you don't specify +:attr:`~CharField.max_length` argument. If you don't specify :attr:`~CharField.max_length`, a default of 200 is used. .. versionadded:: 1.5 diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt index a577135271..ac20422915 100644 --- a/docs/ref/models/options.txt +++ b/docs/ref/models/options.txt @@ -85,14 +85,14 @@ Django quotes column and table names behind the scenes. The name of an orderable field in the model, typically a :class:`DateField`, :class:`DateTimeField`, or :class:`IntegerField`. This specifies the default - field to use in your model :class:`Manager`'s :class:`~QuerySet.latest` - method. + field to use in your model :class:`Manager`'s + :meth:`~django.db.models.query.QuerySet.latest` method. Example:: get_latest_by = "order_date" - See the docs for :meth:`~django.db.models.query.QuerySet.latest` for more. + See the :meth:`~django.db.models.query.QuerySet.latest` docs for more. ``managed`` ----------- diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 40fa2d2b2f..a19d022c58 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1637,7 +1637,7 @@ Finally, realize that ``update()`` does an update at the SQL level and, thus, does not call any ``save()`` methods on your models, nor does it emit the :attr:`~django.db.models.signals.pre_save` or :attr:`~django.db.models.signals.post_save` signals (which are a consequence of -calling :meth:`Model.save() <~django.db.models.Model.save()>`). If you want to +calling :meth:`Model.save() <django.db.models.Model.save>`). If you want to update a bunch of records for a model that has a custom :meth:`~django.db.models.Model.save()` method, loop over them and call :meth:`~django.db.models.Model.save()`, like this:: |
