disqus/django-bitfield — pull request #35 by habfast (2014-02-24 21:33:36+00:00)
Title: fix BitFieldCheckboxSelectMultiple for new form

In the admin, when creating a new form, the default is the integer version of the value, which cannot be looped over in CheckboxSelectMultiple.render() (raises an Error). This converts the integer value to Array. Works with default=X, X being an integer or an array of flags.