Skip to content

Commit

Permalink
Fixed #605 -- Fixed template-name errors in docs/generic_views.txt. T…
Browse files Browse the repository at this point in the history
…hanks, cygnus@cprogrammer.org

git-svn-id: http://code.djangoproject.com/svn/django/trunk@828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Oct 10, 2005
1 parent 5f5db2c commit fef8ade
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/generic_views.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ The date-based generic functions are:
Yearly archive. Requires that the ``year`` argument be present in the URL Yearly archive. Requires that the ``year`` argument be present in the URL
pattern. pattern.


Uses the template ``app_label/module_name__archive_year`` by default. Uses the template ``app_label/module_name_archive_year`` by default.


Has the following template context: Has the following template context:


Expand All @@ -134,7 +134,7 @@ The date-based generic functions are:
default, which is a three-letter month abbreviation. To change it to use default, which is a three-letter month abbreviation. To change it to use
numbers, use ``"%m"``. numbers, use ``"%m"``.


Uses the template ``app_label/module_name__archive_month`` by default. Uses the template ``app_label/module_name_archive_month`` by default.


Has the following template context: Has the following template context:


Expand All @@ -151,7 +151,7 @@ The date-based generic functions are:
also pass ``day_format``, which defaults to ``"%d"`` (day of the month as a also pass ``day_format``, which defaults to ``"%d"`` (day of the month as a
decimal number, 1-31). decimal number, 1-31).


Uses the template ``app_label/module_name__archive_day`` by default. Uses the template ``app_label/module_name_archive_day`` by default.


Has the following template context: Has the following template context:


Expand Down Expand Up @@ -274,7 +274,7 @@ The create/update/delete views are:
be interpolated against the object's field attributes. For example, you be interpolated against the object's field attributes. For example, you
could use ``post_save_redirect="/polls/%(slug)s/"``. could use ``post_save_redirect="/polls/%(slug)s/"``.


Uses the template ``app_label/module_name__form`` by default. This is the Uses the template ``app_label/module_name_form`` by default. This is the
same template as the ``update_object`` view below. Your template can tell same template as the ``update_object`` view below. Your template can tell
the different by the presence or absence of ``{{ object }}`` in the the different by the presence or absence of ``{{ object }}`` in the
context. context.
Expand All @@ -296,7 +296,7 @@ The create/update/delete views are:
``list_detail.object_detail`` does (see above), and the same ``list_detail.object_detail`` does (see above), and the same
``post_save_redirect`` as ``create_object`` does. ``post_save_redirect`` as ``create_object`` does.


Uses the template ``app_label/module_name__form`` by default. Uses the template ``app_label/module_name_form`` by default.


Has the following template context: Has the following template context:


Expand Down

0 comments on commit fef8ade

Please sign in to comment.