diff options
Diffstat (limited to 'tests/timezones/models.py')
| -rw-r--r-- | tests/timezones/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timezones/models.py b/tests/timezones/models.py index 73b198f32c..f7747d5937 100644 --- a/tests/timezones/models.py +++ b/tests/timezones/models.py @@ -15,7 +15,7 @@ class Session(models.Model): class SessionEvent(models.Model): dt = models.DateTimeField() - session = models.ForeignKey(Session, related_name='events') + session = models.ForeignKey(Session, models.CASCADE, related_name='events') class Timestamp(models.Model): |
