Multiple discount codes of the same name are able to be entered when configuring, which may be useful for having codes change value over time or to have codes have number of uses over time. However, this currently causes all codes with that same "CodeName" to be returned which causes a error when registering, resulting in the following stacktrace.
registration.models.Discount.MultipleObjectsReturned get() returned more than one Discount -- it returned 2! __ Werkzeug Debugger.pdf