Anders Kaseorg
2ae285af7c
ruff: Fix PLR1714 Consider merging multiple comparisons.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-07-23 15:21:33 -07:00
Anders Kaseorg
d3efd4c095
python: Import F, Q, QuerySet from their canonical module.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-03-05 14:46:28 -08:00
Zixuan James Li
81ab0b3615
user_activity: Tighten function signatures with generic QuerySet.
...
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-07-07 11:27:43 -07:00
Eeshan Garg
1dec97c925
analytics: Use user IDs to get user activity summaries.
...
Using user IDs instead of emails is more reliable since users can
have arbitrarily complex emails that are hard to encode in a URL.
This has led to NoReverseMatch exceptions in the past.
2021-10-13 15:30:27 -07:00
Tim Abbott
e083134764
analytics: Extract analytics/views/user_activity.py.
2021-06-17 17:39:28 -07:00