zulip/zproject
Zixuan James Li c968b299db typing: Tighten type annotation for settings.CACHES.
In zliencer.management.commands.populate_db, we assign the value of
settings.CACHES["default"] to `default_cache`.

django-stubs infers `settings.CACHES` to be `Dict[str, object]`. We make
the type specific enough so that we can access `default_cache` as a
dict.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-06-23 22:09:05 -07:00
..
jinja2 refactor: Rename and move app_filters.py. 2021-06-11 07:43:22 -07:00
__init__.py
backends.py typing: Add assertions for authentication. 2022-05-31 09:43:55 -07:00
computed_settings.py typing: Tighten type annotation for settings.CACHES. 2022-06-23 22:09:05 -07:00
config.py sentry: Set environment from `machine.deploy_type` config. 2021-07-15 15:01:43 -07:00
configured_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
default_settings.py settings: Allow customizing HOME_NOT_LOGGED_IN. 2022-06-01 15:37:31 -07:00
dev_settings.py settings: Allow customizing HOME_NOT_LOGGED_IN. 2022-06-01 15:37:31 -07:00
dev_urls.py typing: Fix function signatures with django-stubs. 2021-08-20 06:02:55 -07:00
email_backends.py email_backends: Fix concurrent backend testing for generate_emails. 2022-05-03 08:45:51 -07:00
legacy_urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
prod_settings.pyi zproject: Add prod_settings mypy stub, aliasing prod_settings_template. 2021-07-05 09:53:41 -07:00
prod_settings_template.py prod_settings_template: Switch to double quotes in commented lines. 2022-04-28 12:40:28 -07:00
sentry.py requirements: Upgrade Python requirements. 2022-06-01 16:01:54 -07:00
settings.py python: Add noqa comments for the specific star imports we allow. 2020-06-11 15:36:43 -07:00
test_extra_settings.py tornado: Unfork tornado.autoreload. 2022-05-02 17:41:49 -07:00
test_settings.py test_settings: Use TEST_EXTERNAL_HOST to override ‘testserver’ default. 2020-12-17 13:07:59 -08:00
urls.py streams: Add endpoint "GET /streams/{stream_id}" to get stream by id. 2022-05-23 15:14:04 -07:00
wsgi.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00