mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Previously, the view function was responsible for doing a first pass of the validations done for RealmPlayground. It is no longer true now. This refactors do_add_realm_playground to check_add_realm_playground and make it responsible for validating the playground fields and doing error handling for the ValidationError raised.
5.0 KiB
5.0 KiB