id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 10349,ManyToMany field does not take dynamic initial values into account,fas,fas,"For dbfields it is possible to provide the initial value in form of a anonymous function, e.g. models.CharField(..., initial=lambda: ""I am dynamic!""). The formfield method of the ManyToMany field does not take this into account: {{{ defaults['initial'] = [i._get_pk_val() for i in defaults['initial']] }}} The fix is simple and provided in a patch, diffed against release 1.0.2.",,closed,"Database layer (models, ORM)",1.0,,fixed,"ManyToMany, initial, dynamic, lambda",mbencun@…,Accepted,1,0,1,0,0,0