zulip/zproject
Tim Abbott 49799440a4 Replace use of django-guardian with fields on UserProfile.
As documented in https://github.com/zulip/zulip/issues/441, Guardian
has quite poor performance, and in fact almost 50% of the time spent
running the Zulip backend test suite on my laptop was inside Guardian.

As part of this migration, we also clean up the old API_SUPER_USERS
variable used to mark EMAIL_GATEWAY_BOT as an API super user; now that
permission is managed entirely via the database.

When rebasing past this commit, developers will need to do a
`manage.py migrate` in order to apply the migration changes before the
server will run again.

We can't yet remove Guardian from INSTALLED_APPS, requirements.txt,
etc. in this release, because otherwise the reverse migration won't
work.

Fixes #441.
2016-04-20 21:51:52 -07:00
..
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py Fix missing return None in ZulipRemoteUserBackend.authenticate. 2016-02-03 19:29:07 -08:00
local_settings.py Apply Python 3 futurize transform libmodernize.fixes.fix_imports_six. 2015-11-01 09:26:16 -08:00
local_settings_template.py Add management command to test sending email. 2016-04-03 16:50:16 -07:00
settings.py Replace use of django-guardian with fields on UserProfile. 2016-04-20 21:51:52 -07:00
test_settings.py Use a different uploads directory when running tests. 2016-04-19 16:48:30 -07:00
urls.py Delete old route for json/update_active_status. 2016-04-11 21:38:23 -07:00
wsgi.py Import zerver.models in wsgi.py 2013-11-12 19:18:35 -05:00