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

Remove debug code

parent 07a698bc
......@@ -619,8 +619,6 @@ class Unit(models.Model):
'''
Returns list of nearby messages based on location.
'''
print self.position - settings.NEARBY_MESSAGES
print self.position + settings.NEARBY_MESSAGES
return Unit.objects.filter(
translation = self.translation,
position__gte = self.position - settings.NEARBY_MESSAGES,
......
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