Alex Vandiver
4525543ec6
delete_realm: Disallow deletion of realms we've had billing plans with.
2021-06-03 09:38:12 -07:00
Tim Abbott
2c01354569
management: Use required kwargs in add_realm_args.
...
This makes management commands more readable, since one doesn't need
to know details of how the library works to read based code.
2021-05-10 12:30:58 -07:00
Anders Kaseorg
11741543da
python: Reformat with Black, except quotes.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-02-12 13:11:19 -08:00
Mateusz Mandera
cbeeadab16
delete_realm: Register a post_delete Realm handler.
...
By registering a post_delete handler to clear appropriate caches in a
nicer way, we can get rid of the ugly flush-memcached call in the
delete_realm command.
2020-10-30 11:43:03 -07:00
Alex Vandiver
bff503feb4
delete_realm: Add command to completely remove realms.
...
This will need some tweaking in upcoming commits.
2020-10-30 11:42:40 -07:00