Skip to content

Commit bdd1042

Browse files
aerostitchatodorov
authored andcommitted
Fix the module full path when using foreign key in tests
1 parent 950fdf2 commit bdd1042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint_django/tests/input/func_noerror_foreign_key_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

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

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

0 commit comments

Comments
 (0)