From ac01d39eaae8c1b9aea03920c0cdd8074eda1c4f Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sun, 25 Jan 2015 01:11:14 +0100 Subject: [PATCH] use our anonymous user object for the rest framework fix: #1432 --- openslides/global_settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openslides/global_settings.py b/openslides/global_settings.py index 50a8f229a..7714e5dad 100644 --- a/openslides/global_settings.py +++ b/openslides/global_settings.py @@ -175,3 +175,8 @@ CKEDITOR_CONFIGS = { USE_TORNADO_AS_WSGI_SERVER = True TEST_RUNNER = 'openslides.utils.test.OpenSlidesDiscoverRunner' + +# Config for the REST Framework +REST_FRAMEWORK = { + 'UNAUTHENTICATED_USER': 'openslides.users.auth.AnonymousUser', +}