Changes between Initial Version and Version 1 of Ticket #28672


Ignore:
Timestamp:
Oct 2, 2017, 3:13:26 PM (7 years ago)
Author:
Dylan Young
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28672 – Description

    initial v1  
    1111class UserSelectForm(Form):
    1212    selected_users = MultipleChoiceField(
    13                     choices=User.objects.all()[0:4],
    14                     initial=User.objects.all()[0:4],
    15                     widget=SelectMultiple(attrs={'form': 'theform'}),
     13                    choices=[('ex', 'Example'), ('ex2', 'Example2')],
     14                    initial='ex',
     15                    widget=CheckboxSelectMultiple(attrs={'form': 'theform'}),
    1616                    required=True)
    1717}}}
    1818
    19 Not sure if this is fixed in Django>1.8
     19Not sure if this is fixed in Django>1.8 as I have found no other reference to the bug.
Back to Top