mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #25415 -- Fixed invalid models in the test suite.
This commit is contained in:
@@ -166,7 +166,7 @@ class MexicanRestaurant(Restaurant):
|
||||
|
||||
|
||||
class ClassyMexicanRestaurant(MexicanRestaurant):
|
||||
restaurant = models.OneToOneField(MexicanRestaurant, models.CASCADE, parent_link=True, primary_key=True)
|
||||
the_restaurant = models.OneToOneField(MexicanRestaurant, models.CASCADE, parent_link=True, primary_key=True)
|
||||
tacos_are_yummy = models.BooleanField(default=False)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user