diff options
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/conditional-view-processing.txt | 2 | ||||
| -rw-r--r-- | docs/topics/db/models.txt | 2 | ||||
| -rw-r--r-- | docs/topics/db/multi-db.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/conditional-view-processing.txt b/docs/topics/conditional-view-processing.txt index 7fabacf6c5..02bf4635a8 100644 --- a/docs/topics/conditional-view-processing.txt +++ b/docs/topics/conditional-view-processing.txt @@ -147,7 +147,7 @@ using one of these decorators:: front_page = last_modified(latest_entry)(front_page) Use ``condition`` when testing both conditions ------------------------------------------------- +---------------------------------------------- It might look nicer to some people to try and chain the ``etag`` and ``last_modified`` decorators if you want to test both preconditions. However, diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 07caa00b02..9833ff5afb 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -1362,7 +1362,7 @@ Or use a common ancestor to hold the :class:`~django.db.models.AutoField`:: pass Field name "hiding" is not permitted -------------------------------------- +------------------------------------ In normal Python class inheritance, it is permissible for a child class to override any attribute from the parent class. In Django, this isn't usually diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt index 83ac9b7c5e..5649ce31bc 100644 --- a/docs/topics/db/multi-db.txt +++ b/docs/topics/db/multi-db.txt @@ -554,7 +554,7 @@ solution is to use ``db_manager()``, like this:: ``db_manager()`` returns a copy of the manager bound to the database you specify. Using ``get_queryset()`` with multiple databases -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you're overriding ``get_queryset()`` on your manager, be sure to either call the method on the parent (using ``super()``) or do the |
