Merge where I left backend-frameworkification #2

Manually merged
bss merged 18 commits from backend-frameworkification into master 2021-04-24 15:36:23 -05:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ef08cec0fb - Show all commits

View File

@ -66,4 +66,4 @@ class PiLog(models.Model):
@property
def hit(self):
"""Return if this log entry is inside the unit circle."""
return math.hypot(self.simulation_x, self.simulation.y) < 1
return math.hypot(self.simulation_x, self.simulation_y) < 1