Commit ed6372a8 authored by Michal Čihař's avatar Michal Čihař

Pass any params further

parent d15ee26b
......@@ -54,8 +54,8 @@ class Suggestion(models.Model):
unit.save_backend(request)
self.delete()
def delete(self):
super(Suggestion, self).delete()
def delete(self, *args, **kwargs):
super(Suggestion, self).delete(*args, **kwargs)
# Update suggestion stats
related_units = Unit.objects.filter(
checksum=self.checksum,
......
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