We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52e992a commit 10ae259Copy full SHA for 10ae259
p3/management/commands/create_bulk_coupons.py
@@ -82,7 +82,7 @@ def handle(self, *args, **options):
82
print ('Coupon %r already exists - updating' % code)
83
c = all_codes[code]
84
else:
85
- print ('New coupon %r will be created' % c.code)
+ print ('New coupon %r will be created' % code)
86
c = Coupon(conference=conference)
87
c.code = code
88
c.max_usage = int(row.get('max_usage', 1))
0 commit comments