PEP8 info:
models.py:10:80: E501 line too long (83 > 79 characters)
Models.py:
field = TreeForeignKey(\'self\', null
It's "correct", PEP8 just flags lines over 79 characters long. But if you're concerned about that, you could write it like this:
field = TreeForeignKey('self',
null=True,
blank=True,
related_name='abcdefgh')
Or this:
field = TreeForeignKey(
'self',
null=True,
blank=True,
related_name='abcdefgh',
)
Or, really, any other style that would break the single line into multiple shorter lines.