Skip to content

Commit

Permalink
Fix the module full path when using foreign key in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aerostitch authored and atodorov committed Dec 2, 2019
1 parent 950fdf2 commit bdd1042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class Book(models.Model):
author = models.ForeignKey(to='input.Author', on_delete=models.CASCADE)
author = models.ForeignKey(to='pylint_django.tests.input.Author', on_delete=models.CASCADE)

def get_author_name(self):
return self.author.id

0 comments on commit bdd1042

Please sign in to comment.