Commit b60d44b302317931f6ec2aef2b0412afd0a3b005

Authored by janek37
1 parent 1e1ff0c8

fixed bug in import

dictionary/management/commands/import_data.py
... ... @@ -279,7 +279,7 @@ class ImportData(object):
279 279 values_cache = {}
280 280 for val, display_val in values:
281 281 values_cache[val], created = LexemeAttributeValue.objects.get_or_create(
282   - value=val, display_val=display_val, attribute=la)
  282 + value=val, display_value=display_val, attribute=la)
283 283 attr_values[attr_name] = values_cache
284 284 return attr_values
285 285  
... ...