zulip/analytics
Alex Vandiver 36da7783ce invites: _max_invites is currently never None.
dc1eeef30a made the column nullable, with the meaning for null of
"use the current `settings.INVITES_DEFAULT_REALM_DAILY_MAX`."
However, 8a95526ced switched to calling `do_change_plan_type` during
realm creation, which sets `realm.max_invites` based on the plan type,
thus ensuring that no new realms have their `_max_invites` set to
null.

Check `max_invites` instead of `_max_invites`.  This requires test
adjustments for the fact that `apply_invite_realm_heuristics` is now
run.
2023-03-07 15:04:39 -08:00
..
lib black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
management upload: Rename upload_message_image_from_request. 2023-03-02 16:36:19 -08:00
migrations migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
tests invites: _max_invites is currently never None. 2023-03-07 15:04:39 -08:00
views python: Import F, Q, QuerySet from their canonical module. 2023-03-05 14:46:28 -08:00
__init__.py
models.py models: Implicitly type model fields with django-stubs. 2022-10-05 16:15:56 -07:00
urls.py analytics: Use user IDs to get user activity summaries. 2021-10-13 15:30:27 -07:00