I actually have mine set in a way that you can put type=CheckBox or
type=SelectBox as an argument in the model definition.
Let me know if you need the code.
Ivan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djan
cpaciba bolshoe I will try this, of course it breaks the original code
but I guess it's the only way
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
here is what you need to do,
1.
in file django/db/models/fields/related.py => class ManyToManyField =>
function get_manipulator_field_objs
replace
return [curry(forms.SelectMultipleField, size=min(max(len(choices), 5),
15), choices=choices)]
with
return [curry(forms.CheckboxSelectMultipleField,
3 matches
Mail list logo