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:
@@ -131,7 +131,7 @@ class Author(models.Model):
|
||||
|
||||
|
||||
class Author1(models.Model):
|
||||
publication = models.OneToOneField(Publication, models.SET_NULL, null=False)
|
||||
publication = models.OneToOneField(Publication, models.CASCADE, null=False)
|
||||
full_name = models.CharField(max_length=255)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user