From 05a897db7088c63044c05a64d74a22d67c583808 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 1 Aug 2020 14:05:50 +0200 Subject: [PATCH] +whitespace --- uncloud_pay/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uncloud_pay/models.py b/uncloud_pay/models.py index 94961c2..66ad4d2 100644 --- a/uncloud_pay/models.py +++ b/uncloud_pay/models.py @@ -430,6 +430,7 @@ class Bill(models.Model): on_delete=models.CASCADE) creation_date = models.DateTimeField(auto_now_add=True) + # FIXME: this is a race condition, if ending_date is evaluated # in the next month the bill spawns two months! starting_date = models.DateTimeField(default=start_of_this_month)