:bug: Fix Bug: maximum recursion depth exceeded while calling a Python object

huangqimin лет %!s(int64=5): %!d(string=назад)
Родитель
Сommit
b043b0ecf6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      coupon/models.py

+ 1 - 1
coupon/models.py

@@ -73,7 +73,7 @@ class UserCouponInfo(BaseModelMixin):
73 73
         return unicode(self.pk)
74 74
 
75 75
     @property
76
-    def coupon_image(self):
76
+    def coupon_image_path(self):
77 77
         return upload_file_path(self.coupon_image)
78 78
 
79 79
     @property