Loading docs/ref/contrib/admin.txt +3 −1 Original line number Diff line number Diff line Loading @@ -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 %} Loading docs/ref/contrib/comments/index.txt +2 −0 Original line number Diff line number Diff line Loading @@ -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. Loading docs/ref/contrib/formtools/form-wizard.txt +4 −2 Original line number Diff line number Diff line Loading @@ -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" %} Loading docs/ref/django-admin.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading docs/ref/files/file.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/ref/contrib/admin.txt +3 −1 Original line number Diff line number Diff line Loading @@ -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 %} Loading
docs/ref/contrib/comments/index.txt +2 −0 Original line number Diff line number Diff line Loading @@ -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. Loading
docs/ref/contrib/formtools/form-wizard.txt +4 −2 Original line number Diff line number Diff line Loading @@ -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" %} Loading
docs/ref/django-admin.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/ref/files/file.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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