POST_edit_campaign respects business days.

This makes the validator consistent with the logic used in
PromoteLinkForm.
This commit is contained in:
Brian Simpson
2013-09-24 02:47:57 -04:00
parent af171d94ff
commit 2f1746aaa0

View File

@@ -511,7 +511,7 @@ class PromoteController(ListingController):
dates=VDateRange(['startdate', 'enddate'],
future=1,
reference_date=promote.promo_datetime_now,
business_days=False,
business_days=True,
sponsor_override=True),
link=VLink('link_id'),
bid=VBid('bid', min=0, max=g.max_promote_bid,