zulip/zproject
Anders Kaseorg 802d3dbbf4 authenticate: Use keyword-only parameters.
Since positional arguments are interpreted differently by different
backends in Django's authentication backend system, it’s safer to
disallow them.

This had been the motivation for previously declaring the parameters
with default values when we were on Python 2, but that was not super
effective because Python has no rule against positional default
arguments and that convention for our authentication backends was
solely enforced by code review.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-05-27 23:49:54 -07:00
..
jinja2 templates: Add django timesince filter to jinja2 filters. 2019-03-11 12:01:11 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py authenticate: Use keyword-only parameters. 2019-05-27 23:49:54 -07:00
dev_settings.py settings: Fix definition of DEPLOY_ROOT in dev_settings too. 2019-03-04 18:46:13 -08:00
dev_urls.py dev tooling: Add "create new user" and "create new realm" buttons. 2019-05-21 15:03:37 -07:00
email_backends.py tools: Upgrade Pycodestyle and fix new linter errors. 2019-01-31 12:21:41 -08:00
legacy_urls.py urls: Move the json/fetch_api_key endpoint to be an API-style route. 2018-01-08 13:15:52 -05:00
prod_settings_template.py uploads: Add comment explaining how to disable uploads. 2019-05-24 14:47:04 -07:00
settings.py org settings: Change a few references to Jitsi to Jitsi Meet. 2019-05-08 15:10:21 -07:00
slack_importer_test_settings.py settings: Migrate test settings to modern postgres backend name. 2019-01-23 17:08:24 -08:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py settings: Migrate test settings to modern postgres backend name. 2019-01-23 17:08:24 -08:00
urls.py webhooks: Remove the legacy GitHub integration. 2019-04-27 15:13:44 -07:00
wsgi.py python: Mark intentionally unused imports with noop statements. 2019-02-22 16:54:47 -08:00