Answers for "module django contrib admin has no attribute action ACTION_CHECKBOX_NAME"

0

module django contrib admin has no attribute action ACTION_CHECKBOX_NAME

//Mass admin should now work when selecting all objects, not just those on the current page.

// Changed existing Django 1.9
selected = request.POST.getlist(admin.ACTION_CHECKBOX_NAME)

// to Django 3.2 
selected_int = queryset.values_list('id', flat=True)
Posted by: Guest on March-09-2022

Code answers related to "module django contrib admin has no attribute action ACTION_CHECKBOX_NAME"

Python Answers by Framework

Browse Popular Code Answers by Language