Admin Integration

Handle list_editable

django-concurrency is able to handle conflicts in the admin’s changelist view when ModelAdmin.list_editable is enabled. To enable this feature simply extend your ModelAdmin from ConcurrentModelAdmin or use ConcurrencyListEditableMixin

See also


Update existing actions templates to be managed by concurrency

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

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