mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +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.
2.4 KiB
2.4 KiB