优化代码

dependabot/npm_and_yarn/fir_admin/url-parse-1.5.10
nineven 3 years ago
parent 42bab0739b
commit 5e380fa09e
  1. 1
      fir_ser/api/models.py

@ -412,7 +412,6 @@ class Order(models.Model):
created_time = models.DateTimeField(verbose_name="订单创建时间", auto_now_add=True) created_time = models.DateTimeField(verbose_name="订单创建时间", auto_now_add=True)
description = models.TextField('备注', blank=True, null=True, default='') description = models.TextField('备注', blank=True, null=True, default='')
def __str__(self): def __str__(self):
return "%s-%s-%s" % (self.user_id, self.order_number, self.actual_amount / 100) return "%s-%s-%s" % (self.user_id, self.order_number, self.actual_amount / 100)

Loading…
Cancel
Save