Skip to content
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
ramax495 opened this issue Apr 7, 2019 · 2 comments
Open

RecursionError: maximum recursion depth exceeded in comparison #9

ramax495 opened this issue Apr 7, 2019 · 2 comments

Comments

@ramax495
Copy link

ramax495 commented Apr 7, 2019

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 ?

@omaraltayyan
Copy link

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

@sespivak
Copy link

sespivak commented Feb 5, 2020

Hi, @ramax495, @omaraltayyan !

RecursionError: maximum recursion depth exceeded in comparison

Could you help ?

Fixed with pull request #12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants