I'll try simplifying the example further in case anyone is able to
help...
> Here's the problem code:
class Xeme(models.Model):
text = models.CharField(max_length=150, db_index=True)
components = models.ManyToManyField(
'self', symmetrical=False, blank=True,
related_name=
Hi Malcom,
> Please post a small example fragment demonstrating what you're trying to
> do.
Here's the problem code:
class Xeme(models.Model):
"""Grapheme, phoneme, morpheme, etc - any linguistic entity
representable by a string."""
text = models.CharField(max_length=15
On Wed, 2009-01-21 at 14:01 -0800, David Gordon wrote:
> Hi Folks,
>
> I'm aware that foreign key fields such as manytomany don't update
> during the save() method of Model, and that there are some issues
> surrounding relations to 'self'. I have a model which has a couple of
> utility functions
3 matches
Mail list logo