Fix keyword argument name

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-19 03:56:56 -04:00
parent 79742e82f9
commit 53f3261dae

View File

@@ -25,7 +25,7 @@ class TransformationManager(models.Manager):
"""
Copy transformation from source to all targets
"""
content_type = ContentType.objects.get_for_model(obj=source)
content_type = ContentType.objects.get_for_model(model=source)
# Get transformations
transformations = self.filter(