django_postgres_extensions icon indicating copy to clipboard operation
django_postgres_extensions copied to clipboard

RecursionError: maximum recursion depth exceeded in comparison

Open ramax495 opened this issue 6 years ago • 2 comments

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 ?

ramax495 avatar Apr 07 '19 20:04 ramax495

same happened to me, this extension is really helpful, @primal100 can you please check this?

omaraltayyan avatar Nov 26 '19 13:11 omaraltayyan

Hi, @ramax495, @omaraltayyan !

RecursionError: maximum recursion depth exceeded in comparison

Could you help ?

Fixed with pull request #12

sespivak avatar Feb 05 '20 02:02 sespivak