use our anonymous user object for the rest framework

fix: #1432
This commit is contained in:
Oskar Hahn 2015-01-25 01:11:14 +01:00
parent 8b08b99d7d
commit ac01d39eaa

View File

@ -175,3 +175,8 @@ CKEDITOR_CONFIGS = {
USE_TORNADO_AS_WSGI_SERVER = True USE_TORNADO_AS_WSGI_SERVER = True
TEST_RUNNER = 'openslides.utils.test.OpenSlidesDiscoverRunner' TEST_RUNNER = 'openslides.utils.test.OpenSlidesDiscoverRunner'
# Config for the REST Framework
REST_FRAMEWORK = {
'UNAUTHENTICATED_USER': 'openslides.users.auth.AnonymousUser',
}