Re: models.ManyToManyField subclass, problem with getting values by form.

2009-06-28 Thread Vladimir Shulyak
Well... Problem closed. I was trying to override things that I shouldn't. Now I got the idea of returning manager by __get__ and everything is just fine :) On Jun 27, 11:13 pm, Vladimir Shulyak wrote: > Hello, > > I am trying to develop sublcass of models.ManyToManyField. This class > should ret

models.ManyToManyField subclass, problem with getting values by form.

2009-06-27 Thread Vladimir Shulyak
Hello, I am trying to develop sublcass of models.ManyToManyField. This class should return text representations of objects to forms.TextField (like TagField from django-tagging). The reason to make my own representation is because: - I don't need content types - I need "front face" to ManyToManyF