'add dummy coupon into models'

def add_coupon(self, course_key, is_active, code):

    coupon = Coupon(code=code, description='testing    code', course_id=course_key, percentage_discount=self.percentage_discount, created_by=self.user, is_active=is_active)
    coupon.save()
