From 47148454f606e6dab80bb17c0c718e6a73671820 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 6 Mar 2020 11:11:16 +0100 Subject: [PATCH] s/_/-/ for bill id --- uncloud/uncloud_pay/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncloud/uncloud_pay/models.py b/uncloud/uncloud_pay/models.py index 32d3eac..17afbcb 100644 --- a/uncloud/uncloud_pay/models.py +++ b/uncloud/uncloud_pay/models.py @@ -182,7 +182,7 @@ class Bill(models.Model): @property def reference(self): - return "{}_{}".format( + return "{}-{}".format( self.owner.username, self.creation_date.strftime("%Y-%m-%d-%H%M"))