Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #module #django #contrib #admin #attribute #action
ADD COMMENT
Topic
Name
5+8 =