zulip/analytics
PIG208 dcbb2a78ca python: Migrate most json_error => JsonableError.
JsonableError has two major benefits over json_error:
* It can be raised from anywhere in the codebase, rather than
  being a return value, which is much more convenient for refactoring,
  as one doesn't potentially need to change error handling style when
  extracting a bit of view code to a function.
* It is guaranteed to contain the `code` property, which is helpful
  for API consistency.

Various stragglers are not updated because JsonableError requires
subclassing in order to specify custom data or HTTP status codes.
2021-06-30 16:22:38 -07:00
..
lib python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
management analytics: Remove stream_stats management command. 2021-06-17 11:30:42 -07:00
migrations python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tests analytics: Extract analytics/views/support.py. 2021-06-17 17:39:28 -07:00
views python: Migrate most json_error => JsonableError. 2021-06-30 16:22:38 -07:00
__init__.py
models.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
urls.py analytics: Rename get_activity to get_installation_activity. 2021-06-17 17:39:28 -07:00