mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-24 19:32:53 +03:00
LocalizedIntegerField not LocalizedIntegerValue
This commit is contained in:
parent
905bfd4353
commit
bc63c57598
@ -203,7 +203,7 @@ class LocalizedIntegerFieldTestCase(TestCase):
|
||||
def func():
|
||||
return output
|
||||
|
||||
model = get_fake_model({"test": LocalizedIntegerValue(default=func)})
|
||||
model = get_fake_model({"test": LocalizedIntegerField(default=func)})
|
||||
obj = model.objects.create()
|
||||
|
||||
assert obj.test["en"] == output["en"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user