zulip/analytics
Rishi Gupta 2b0a7fd0ba Rename models.get_realm_by_string_id to get_realm.
Finishes the refactoring started in c1bbd8d. The goal of the refactoring is
to change the argument to get_realm from a Realm.domain to a
Realm.string_id. The steps were

* Add a new function, get_realm_by_string_id.

* Change all calls to get_realm to use get_realm_by_string_id instead.

* Remove get_realm.

* (This commit) Rename get_realm_by_string_id to get_realm.

Part of a larger migration to remove the Realm.domain field entirely.
2017-01-04 17:12:23 -08:00
..
lib analytics: Change count_message_by_stream to join on UserProfile. 2016-12-20 12:03:23 -08:00
management Rename models.get_realm_by_string_id to get_realm. 2017-01-04 17:12:23 -08:00
migrations analytics/models.py: Add subgroup column to unique_together constraints. 2016-11-01 16:53:56 -07:00
tests Add /stats page with basic stats graph. 2016-12-29 14:20:13 -08:00
__init__.py Create "analytics" app with activity reports. 2013-11-06 12:07:32 -05:00
models.py analytics: Add subgroups to unicode representations in models.py. 2016-12-20 12:03:23 -08:00
urls.py Add /stats page with basic stats graph. 2016-12-29 14:20:13 -08:00
views.py makemessages: Fix string with unnamed arguments in analytics/views.py. 2016-12-30 16:52:24 -08:00