Merge pull request #1434 from ostcar/fix_rest_anonymous

use our anonymous user object for the rest framework
This commit is contained in:
Oskar Hahn 2015-01-25 01:20:41 +01:00
commit e87eb6af5f
1 changed files with 5 additions and 0 deletions

View File

@ -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',
}