From aba8bd9dc8c0f53a88cc8d85a0e3f1684ee8cd16 Mon Sep 17 00:00:00 2001 From: tdruez Date: Mon, 1 Jul 2013 15:40:48 +0200 Subject: [PATCH] Update admin.rst --- docs/admin.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/admin.rst b/docs/admin.rst index 9df3920..9d92a95 100644 --- a/docs/admin.rst +++ b/docs/admin.rst @@ -38,13 +38,12 @@ Update existing actions templates to be managed by concurrency .. versionadded:: 0.6 -You ca use the :tfilter:`identity`filter to pass both ``pk`` and ``version`` to your ModelAdmin. -Each time you use ``{{obj.pk}}`` simply change to ``{{ obj|identity }}``. -So in the ``admin/delete_selected_confirmation.html`` will have:: +You ca use the :tfilter:`identity` filter to pass both ``pk`` and ``version`` to your ModelAdmin. +Each time you use ``{{ obj.pk }}`` simply change to ``{{ obj|identity }}``. +So in the ``admin/delete_selected_confirmation.html`` will have: .. code-block:: html {% for obj in queryset %} {% endfor %} -