Commit 8511d814 authored by Michal Čihař's avatar Michal Čihař

Better way to reference context manager

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent ec6510f2
......@@ -61,7 +61,7 @@ class SuggestionManager(models.Manager):
user = request.user
# Create the suggestion
suggestion = Suggestion.objects.create(
suggestion = self.create(
target=target,
contentsum=unit.contentsum,
language=unit.translation.language,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment