mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #19722 -- Added a test for querying generic relations of a parent class.
Fixed in c9a96075fa.
This commit is contained in:
@@ -88,6 +88,10 @@ class Vegetable(models.Model):
|
||||
return self.name
|
||||
|
||||
|
||||
class Carrot(Vegetable):
|
||||
pass
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Mineral(models.Model):
|
||||
name = models.CharField(max_length=150)
|
||||
|
||||
Reference in New Issue
Block a user