This repository was archived by the owner on Apr 16, 2020. It is now read-only.
This repository was archived by the owner on Apr 16, 2020. It is now read-only.
RecursionError: maximum recursion depth exceeded in comparison #9
Open
Description
Hello!
I use model from the example of ArrayManyToManyField:
class Publication(models.Model):
title = models.CharField(max_length=30)
def __str__(self):
return self.title
class Meta:
ordering = ('title',)
class Article(models.Model):
headline = models.CharField(max_length=100)
publications = ArrayManyToManyField(Publication, name='publications')
def __str__(self):
return self.headline
class Meta:
ordering = ('headline',)
And after I start command makemigrations I get error:
RecursionError: maximum recursion depth exceeded in comparison
Could you help ?
Metadata
Metadata
Assignees
Labels
No labels