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

huangqimin преди 5 години
родител
ревизия
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