title: Selecting all checkboxes in Django
body: <p>I'm trying to find an elegant solution without recourse to using JQuery or JS. Is there anyway that one can perform a select all on fields that are options in a model?</p>
  
  <p>I'm not so keen to use: <a href="https://stackoverflow.com/questions/3545810/django-checkbox-select-all">django checkbox select all</a></p>
  
  <p>I've seen it hinted at: <a href="https://groups.google.com/forum/#!topic/django-users/dzdiZ9TLR5g" rel="nofollow noreferrer">https://groups.google.com/forum/#!topic/django-users/dzdiZ9TLR5g</a></p>
  
  <p>But never been able to find anything that would easily allow me to provide a select all directly from Django. Does anyone know if this is possible to switch on? Or is JS the only way to perform this?</p>
  
  <p>I note this answer earlier: <a href="https://stackoverflow.com/questions/12939548/select-all-rows-in-django-tables2">select all rows in django_tables2</a></p>
  
  <p>But is there a way to avoid this approach because I may not know what why fields are - hence, if I have more than one field on each page - i.e. multiple names.</p>