Fix test translated
This commit is contained in:
parent
43fc16f841
commit
842ad47ec0
|
|
@ -41,7 +41,7 @@ class TranslateFieldTests(BaseTestCase):
|
||||||
self.news_type.save()
|
self.news_type.save()
|
||||||
|
|
||||||
|
|
||||||
self.country_ru = Country.objects.get(
|
self.country_ru, created = Country.objects.get_or_create(
|
||||||
name={"en-GB": "Russian"}
|
name={"en-GB": "Russian"}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user