Ticket #14895: 14895_delete_confirmation_1000_separator.diff

File 14895_delete_confirmation_1000_separator.diff, 776 bytes (added by julien, 5 years ago)
  • django/contrib/admin/templates/admin/delete_selected_confirmation.html

    diff --git a/django/contrib/admin/templates/admin/delete_selected_confirmation.html b/django/contrib/admin/templates/admin/delete_selected_confirmation.html
    index 4aa610e..a1b8dea 100644
    a b  
    2626    <form action="" method="post">{% csrf_token %}
    2727    <div>
    2828    {% for obj in queryset %}
    29     <input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj.pk }}" />
     29    <input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj.pk|stringformat:"s" }}" />
    3030    {% endfor %}
    3131    <input type="hidden" name="action" value="delete_selected" />
    3232    <input type="hidden" name="post" value="yes" />
Back to Top