diff --git a/registrasion/forms.py b/registrasion/forms.py index df363d7a03a4388f373e31808f86a82f3cf67e91..79e6d95a0df6199d3685ea5fa528983e8b208795 100644 --- a/registrasion/forms.py +++ b/registrasion/forms.py @@ -43,7 +43,6 @@ def CategoryForm(category): if not prod.can_add_with_enabling_conditions(user, 0): self.disable_product(product) - products = rego.Product.objects.filter(category=category).order_by("order") for product in products: