import string

from django.conf import settings


COUPON_TYPES = getattr(settings, 'COUPONS_COUPON_TYPES', (
    ('monetary', 'Money based coupon'),
    ('percentage', 'Percentage discount'),
    ('virtual_currency', 'Virtual currency'),
))

CODE_LENGTH = getattr(settings, 'COUPNS_CODE_LENGTH', 15)

CODE_CHARS = getattr(settings, 'COUPNS_CODE_CHARS', string.ascii_letters+string.digits)

@@ -264,32 +264,33 @@
 (settings, 'COUP
+O
 NS_CODE_LENGTH',
@@ -331,16 +331,17 @@
 s, 'COUP
+O
 NS_CODE_

Correct typo in setting names