Skip to content

Commit aba8bd9

Browse files
committed
Update admin.rst
1 parent 044bcae commit aba8bd9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/admin.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@ Update existing actions templates to be managed by concurrency
3838

3939
.. versionadded:: 0.6
4040

41-
You ca use the :tfilter:`identity`filter to pass both ``pk`` and ``version`` to your ModelAdmin.
42-
Each time you use ``{{obj.pk}}`` simply change to ``{{ obj|identity }}``.
43-
So in the ``admin/delete_selected_confirmation.html`` will have::
41+
You ca use the :tfilter:`identity` filter to pass both ``pk`` and ``version`` to your ModelAdmin.
42+
Each time you use ``{{ obj.pk }}`` simply change to ``{{ obj|identity }}``.
43+
So in the ``admin/delete_selected_confirmation.html`` will have:
4444

4545
.. code-block:: html
4646

4747
{% for obj in queryset %}
4848
<input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj|identity }}" />
4949
{% endfor %}
50-

0 commit comments

Comments
 (0)