mirror of https://github.com/zulip/zulip.git
a808f02a22
We ran into a bug in production caused by two issues: - Some users came from orgs that didn't have a website and since the URL field was required, they submitted invalid URLs. - We didn't properly respond to invalid form submissions, which led to UnboundLocalError exceptions in another part of the code. This commit solves this by doing the following: - We now allow blank URLs and have a convenient placeholder text label that tells users that they may leave the URL field blank. - This commit refactors the code such that invalid form submissions result in an informative error message about what exactly went wrong. |
||
---|---|---|
.. | ||
0001_initial.py | ||
0002_customer_default_discount.py | ||
0003_customerplan.py | ||
0004_licenseledger.py | ||
0005_customerplan_invoicing.py | ||
0006_nullable_stripe_customer_id.py | ||
0007_remove_deprecated_fields.py | ||
0008_nullable_next_invoice_date.py | ||
0009_customer_sponsorship_pending.py | ||
0010_customerplan_exempt_from_from_license_number_check.py | ||
0011_move_exempt_from_from_license_number_check_to_customer_model.py | ||
0012_zulipsponsorshiprequest.py | ||
0013_alter_zulipsponsorshiprequest_org_website.py | ||
__init__.py |