mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Removed reference to "manager" in ForeignKeyTests.
Follow-up to 0de89b6f8d.
This commit is contained in:
@@ -165,5 +165,5 @@ class ForeignKeyTests(TestCase):
|
|||||||
class MyModel(models.Model):
|
class MyModel(models.Model):
|
||||||
child = models.ForeignKey(1, models.CASCADE)
|
child = models.ForeignKey(1, models.CASCADE)
|
||||||
|
|
||||||
def test_manager_class_getitem(self):
|
def test_class_getitem(self):
|
||||||
self.assertIs(models.ForeignKey["Foo"], models.ForeignKey)
|
self.assertIs(models.ForeignKey["Foo"], models.ForeignKey)
|
||||||
|
|||||||
Reference in New Issue
Block a user