views:

22

answers:

1

I have a model in my django project with a member which is a char field. Basically data in this field will be entered as comma-separated values

Without a long-winded explanation of what the overall goal of this is, basically rather than having the admin interface use a simple text field, I'd rather have have some custom HTML for the form so I can just use checkboxes and assemble the values of the checked boxes into a CSV string myself once the form is submitted.

Perhaps I"m not searching properly but it seems most of the django customization I was able to find on google didn't answer my particular problem.

+1  A: 

If I understand your question correctly I think you want to search for writing custom widgets. Perhaps start here: http://docs.djangoproject.com/en/dev/topics/forms/

totels