Commit 74f386db authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 834a041e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -924,7 +924,9 @@ better to override only the section of the template which you need to change.
To continue the example above, we want to add a new link next to the ``History``
tool for the ``Page`` model. After looking at ``change_form.html`` we determine
that we only need to override the ``object-tools`` block. Therefore here is our
new ``change_form.html`` ::
new ``change_form.html`` :

.. code-block:: html+django

    {% extends "admin/change_form.html" %}
    {% load i18n %}
+2 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ Django's comments framework
.. module:: django.contrib.comments
   :synopsis: Django's comment framework

.. highlightlang:: html+django

Django includes a simple, yet customizable comments framework. The built-in
comments framework can be used to attach comments to any model, so you can use
it for comments on blog entries, photos, book chapters, or anything else.
+4 −2
Original line number Diff line number Diff line
@@ -169,7 +169,9 @@ You can specify it in two ways:
    * Pass :attr:`~django.contrib.formtools.wizard.FormWizard.extra_context`
      as extra parameters in the URLconf.

Here's a full example template::
Here's a full example template:

.. code-block:: html+django

    {% extends "base.html" %}

+1 −1
Original line number Diff line number Diff line
@@ -385,7 +385,7 @@ makemessages
------------

.. versionchanged:: 1.0
   Before 1.0 this was the "bin/make-messages.py" command.
   Before 1.0 this was the ``bin/make-messages.py`` command.

Runs over the entire source tree of the current directory and pulls out all
strings marked for translation. It creates (or updates) a message file in the
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ Additional ``ImageField`` attributes

.. attribute:: File.height

    Heigght of the image.
    Height of the image.

Additional methods on files attached to objects
-----------------------------------------------
Loading