File "/home/marcio/prj/py/ProjectManager/partlist/models.py", line 29That error was caused by me because I unintentionally mixed tabs and spaces. I know I can't mix them but I did it and I wasted some precious time trying to figure out what was happening.
friends = models.ManyToManyField("self", related_name='component_friends', symmetrical=False)
^
IndentationError: unindent does not match any outer indentation level
marcio@mr02:~/prj/py/ProjectManager$
So if you see this error you will already know the solution. ;)
Nenhum comentário:
Postar um comentário