mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-12-14 07:42:24 +03:00
fix tests on Django 2.0
This commit is contained in:
@@ -32,7 +32,7 @@ class LocalizedExpressionsTestCase(TestCase):
|
||||
cls.TestModel2 = get_fake_model(
|
||||
{
|
||||
'text': LocalizedField(),
|
||||
'other': models.ForeignKey(cls.TestModel1, related_name='features')
|
||||
'other': models.ForeignKey(cls.TestModel1, related_name='features', on_delete=models.CASCADE)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user