1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[1.5.x] Added missing markup to docs.

Backport of 93cffc3b37 from master.
This commit is contained in:
Tim Graham
2013-03-22 05:50:45 -04:00
parent 1363b41823
commit f7ca464039
37 changed files with 164 additions and 148 deletions

View File

@@ -175,7 +175,7 @@ That's easy enough to do::
make_published.short_description = "Mark selected stories as published"
Notice first that we've moved ``make_published`` into a method and renamed the
`modeladmin` parameter to `self`, and second that we've now put the string
``modeladmin`` parameter to ``self``, and second that we've now put the string
``'make_published'`` in ``actions`` instead of a direct function reference. This
tells the :class:`ModelAdmin` to look up the action as a method.