zulip/zproject
Tim Abbott ee901ac8b1 django: Remove the Django contrib Sites app to fix 2FA QR codes.
Apparently, Django's get_current_site function (used, e.g., in
django-two-factor to look up the domain to use in QR codes) first
tries to use the Sites framework, and if unavailable, does the right
thing (namely, using request.get_host()).

We don't use the Sites framework for anything in Zulip, so the correct
fix is to just remove it.

Fixes #11014.
2018-12-12 15:01:55 -08:00
..
jinja2 zproject: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py fakeldap: Add thumbnailPhoto/jpegPhoto for testing avatar syncing. 2018-12-12 11:23:33 -08:00
dev_settings.py settings: Remove unused EMAIL_LOG_DIR setting from dev_settings. 2018-10-11 15:12:08 -07:00
dev_urls.py casper: Show casper debug files in the dev server. 2018-06-04 09:02:58 -07:00
email_backends.py emails: Don't log emails while running test suite. 2018-10-11 15:12:08 -07: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 docs: Further document tokenized noreply email addresses. 2018-11-08 15:26:21 -08:00
settings.py django: Remove the Django contrib Sites app to fix 2FA QR codes. 2018-12-12 15:01:55 -08:00
slack_importer_test_settings.py slack importer: Use standalone database for running tests. 2018-01-07 09:50:27 -05:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py Avoid double redirects to /login and then to /login/. 2018-12-04 16:12:58 -08:00
urls.py digest_email: Add endpoint for rendering digest to the web. 2018-12-11 13:38:30 -08:00
wsgi.py manage.py: Sabotage importing pika.adapters.twisted_connection. 2018-10-17 11:50:08 -07:00