Skip to content

Commit

Permalink
Fixed #3234 -- Fixed ReST error in docs/generic_views.txt. Thanks, paolo
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Jan 23, 2007
1 parent 9ad9805 commit 2933110
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/generic_views.txt
Expand Up @@ -266,9 +266,9 @@ to ``True``.
the view's template. See the `RequestContext docs`_. the view's template. See the `RequestContext docs`_.


* ``template_object_name``: Designates the name of the template variable * ``template_object_name``: Designates the name of the template variable
to use in the template context. By default, this is ``'object'``. The to use in the template context. By default, this is ``'object'``. The
view will append ``'_list'`` to the value of this parameter in view will append ``'_list'`` to the value of this parameter in
determining the variable's name. determining the variable's name.


* ``make_object_list``: A boolean specifying whether to retrieve the full * ``make_object_list``: A boolean specifying whether to retrieve the full
list of objects for this year and pass those to the template. If ``True``, list of objects for this year and pass those to the template. If ``True``,
Expand Down Expand Up @@ -360,9 +360,9 @@ date in the *future* are not displayed unless you set ``allow_future`` to
the view's template. See the `RequestContext docs`_. the view's template. See the `RequestContext docs`_.


* ``template_object_name``: Designates the name of the template variable * ``template_object_name``: Designates the name of the template variable
to use in the template context. By default, this is ``'object'``. The to use in the template context. By default, this is ``'object'``. The
view will append ``'_list'`` to the value of this parameter in view will append ``'_list'`` to the value of this parameter in
determining the variable's name. determining the variable's name.


* ``mimetype``: The MIME type to use for the resulting document. Defaults * ``mimetype``: The MIME type to use for the resulting document. Defaults
to the value of the ``DEFAULT_CONTENT_TYPE`` setting. to the value of the ``DEFAULT_CONTENT_TYPE`` setting.
Expand Down Expand Up @@ -441,9 +441,9 @@ in the *future* are not displayed unless you set ``allow_future`` to ``True``.
the view's template. See the `RequestContext docs`_. the view's template. See the `RequestContext docs`_.


* ``template_object_name``: Designates the name of the template variable * ``template_object_name``: Designates the name of the template variable
to use in the template context. By default, this is ``'object'``. The to use in the template context. By default, this is ``'object'``. The
view will append ``'_list'`` to the value of this parameter in view will append ``'_list'`` to the value of this parameter in
determining the variable's name. determining the variable's name.


* ``mimetype``: The MIME type to use for the resulting document. Defaults * ``mimetype``: The MIME type to use for the resulting document. Defaults
to the value of the ``DEFAULT_CONTENT_TYPE`` setting. to the value of the ``DEFAULT_CONTENT_TYPE`` setting.
Expand Down Expand Up @@ -526,9 +526,9 @@ you set ``allow_future`` to ``True``.
the view's template. See the `RequestContext docs`_. the view's template. See the `RequestContext docs`_.


* ``template_object_name``: Designates the name of the template variable * ``template_object_name``: Designates the name of the template variable
to use in the template context. By default, this is ``'object'``. The to use in the template context. By default, this is ``'object'``. The
view will append ``'_list'`` to the value of this parameter in view will append ``'_list'`` to the value of this parameter in
determining the variable's name. determining the variable's name.


* ``mimetype``: The MIME type to use for the resulting document. Defaults * ``mimetype``: The MIME type to use for the resulting document. Defaults
to the value of the ``DEFAULT_CONTENT_TYPE`` setting. to the value of the ``DEFAULT_CONTENT_TYPE`` setting.
Expand Down Expand Up @@ -710,9 +710,9 @@ A page representing a list of objects.
the view's template. See the `RequestContext docs`_. the view's template. See the `RequestContext docs`_.


* ``template_object_name``: Designates the name of the template variable * ``template_object_name``: Designates the name of the template variable
to use in the template context. By default, this is ``'object'``. The to use in the template context. By default, this is ``'object'``. The
view will append ``'_list'`` to the value of this parameter in view will append ``'_list'`` to the value of this parameter in
determining the variable's name. determining the variable's name.


* ``mimetype``: The MIME type to use for the resulting document. Defaults * ``mimetype``: The MIME type to use for the resulting document. Defaults
to the value of the ``DEFAULT_CONTENT_TYPE`` setting. to the value of the ``DEFAULT_CONTENT_TYPE`` setting.
Expand Down Expand Up @@ -973,7 +973,7 @@ object. This uses the automatic manipulators that come with Django models.
the view's template. See the `RequestContext docs`_. the view's template. See the `RequestContext docs`_.


* ``template_object_name``: Designates the name of the template variable * ``template_object_name``: Designates the name of the template variable
to use in the template context. By default, this is ``'object'``. to use in the template context. By default, this is ``'object'``.


**Template name:** **Template name:**


Expand Down Expand Up @@ -1054,7 +1054,7 @@ contain a form that POSTs to the same URL.
the view's template. See the `RequestContext docs`_. the view's template. See the `RequestContext docs`_.


* ``template_object_name``: Designates the name of the template variable * ``template_object_name``: Designates the name of the template variable
to use in the template context. By default, this is ``'object'``. to use in the template context. By default, this is ``'object'``.


**Template name:** **Template name:**


Expand Down

0 comments on commit 2933110

Please sign in to comment.