Django represent a many-to-many relationship as a CharField

Posted by Brandon on Stack Overflow See other posts from Stack Overflow or by Brandon
Published on 2010-05-11T09:21:15Z Indexed on 2010/05/11 12:34 UTC
Read the original article Hit count: 211

I have a many-to-many field on one of my models and a ModelForm to represent it. I have it in a template but it shows up as a multiple select field. I need it to show up as a CharField so the user can put in comma-delimited values. Is there any way to do this?

© Stack Overflow or respective owner

Related posts about django

Related posts about many-to-many