adding trailing slashes to post forms
This commit is contained in:
@@ -746,7 +746,8 @@ class PlanSelectForm(forms.Form):
|
||||
self.fields['plan'].empty_label = None
|
||||
if paymentprocessor:
|
||||
self.fields['plan'].queryset = PaidPlan.objects.filter(
|
||||
paymentprocessor=paymentprocessor
|
||||
paymentprocessor=paymentprocessor,
|
||||
active=True
|
||||
).exclude(
|
||||
shortname="basic"
|
||||
).order_by(
|
||||
@@ -758,7 +759,8 @@ class PlanSelectForm(forms.Form):
|
||||
except AttributeError:
|
||||
amount = 0
|
||||
self.fields['plan'].queryset = PaidPlan.objects.filter(
|
||||
paymentprocessor=rower.paymentprocessor
|
||||
paymentprocessor=rower.paymentprocessor,
|
||||
active=True
|
||||
).exclude(
|
||||
price__lte=amount
|
||||
).order_by(
|
||||
|
||||
Reference in New Issue
Block a user