79335561

Date: 2025-01-07 10:08:32
Score: 2
Natty:
Report link

You don't have to use '[ ]'. You can simply write

request.POST.getlist('model_size_ids')

However, if someone doesn't check one of those buttons, the associated value will be missing in the list.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Arif Rathin