@property
    @memoized
    def edition(self):
        edition = self.request.POST.get('plan_edition').title()
        if edition not in [e[0] for e in SoftwarePlanEdition.CHOICES]:
            raise Http404()
        return edition
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/domain/views.py/ConfirmSelectedPlanView.edition/original