mirror of https://github.com/zulip/zulip.git
c9d25b2a95
When a customer with plan's status 'DOWNGRADE_AT_END_OF_FREE_TRIAL' visits /billing page on the free-trial end date before the invoice cron runs, the 'make_end_of_cycle_updates_if_needed' downgrades the plan. Earlier, when such a customer visited /billing page in this time window it resulted in an assertion error. This commit fixes the incorrect behaviour by redirecting to '/plans' page in such cases. |
||
---|---|---|
.. | ||
lib | ||
management | ||
migrations | ||
tests | ||
views | ||
__init__.py | ||
models.py | ||
urls.py |