def get_object(self, queryset=None): obj = super(SupplierEditView, self).get_object(queryset) check_and_raise_if_only_one_allowed("SHUUP_ENABLE_MULTIPLE_SUPPLIERS", obj) return obj
def get_object(self, queryset=None): obj = super(SupplierEditView, self).get_object(queryset) check_and_raise_if_only_one_allowed("SHUUP_ENABLE_MULTIPLE_SUPPLIERS", obj) return obj