From d2f9f630c7688c9d0087a31de38d421775f7b40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Ko=CC=88cher?= Date: Sat, 14 Apr 2012 09:49:37 +0200 Subject: [PATCH] Move AnonymousAuth from system to utils. --- openslides/openslides_settings.py | 4 ++-- openslides/{system => utils}/auth/AnonymousAuth.py | 0 openslides/{system => utils}/auth/__init__.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename openslides/{system => utils}/auth/AnonymousAuth.py (100%) rename openslides/{system => utils}/auth/__init__.py (100%) diff --git a/openslides/openslides_settings.py b/openslides/openslides_settings.py index fdb5db0a6..ad3092d40 100644 --- a/openslides/openslides_settings.py +++ b/openslides/openslides_settings.py @@ -17,7 +17,7 @@ SITE_ROOT = os.path.realpath(os.path.dirname(__file__)) AUTH_PROFILE_MODULE = 'participant.Profile' -AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend', 'openslides.system.auth.AnonymousAuth',) +AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend', 'openslides.utils.auth.AnonymousAuth',) LOGIN_URL = '/login/' LOGIN_REDIRECT_URL = '/' @@ -112,5 +112,5 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', 'django.core.context_processors.i18n', 'utils.utils.revision', - 'openslides.system.auth.anonymous_context_additions', + 'openslides.utils.auth.anonymous_context_additions', ) diff --git a/openslides/system/auth/AnonymousAuth.py b/openslides/utils/auth/AnonymousAuth.py similarity index 100% rename from openslides/system/auth/AnonymousAuth.py rename to openslides/utils/auth/AnonymousAuth.py diff --git a/openslides/system/auth/__init__.py b/openslides/utils/auth/__init__.py similarity index 100% rename from openslides/system/auth/__init__.py rename to openslides/utils/auth/__init__.py