Re: How to implement a custom field (or relation) which supports List of Strings

2009-07-18 Thread Dudley Fox
On Fri, Jul 17, 2009 at 3:45 PM, Sam Tregar wrote: > On Fri, Jul 17, 2009 at 3:23 PM, Dudley Fox wrote: >> >> Should I have posted this to the developer's list? I ask because I >> have received no responses yet. Not even a "...you shouldn't do that." >> :) > > I can help you with that - you shoul

Re: How to implement a custom field (or relation) which supports List of Strings

2009-07-17 Thread Sam Tregar
On Fri, Jul 17, 2009 at 3:23 PM, Dudley Fox wrote: > > Should I have posted this to the developer's list? I ask because I > have received no responses yet. Not even a "...you shouldn't do that." > :) I can help you with that - you shouldn't do that. Instead you should create a new model for f

Re: How to implement a custom field (or relation) which supports List of Strings

2009-07-17 Thread Dudley Fox
Should I have posted this to the developer's list? I ask because I have received no responses yet. Not even a "...you shouldn't do that." :) Sincerely, Dudley On Wed, Jul 15, 2009 at 11:38 AM, Dudley Fox wrote: > I want to create a new type of field for django models that is > basically a ListOf

How to implement a custom field (or relation) which supports List of Strings

2009-07-15 Thread Dudley Fox
I want to create a new type of field for django models that is basically a ListOfStrings. So in your model code you would have the following: models.py: from django.db import models class ListOfStringsField(???): ??? class myDjangoModelClass(): myName = models.CharField(