Changeset 1505 for trunk/pylucid/PyLucid/settings_example.py
- Timestamp:
- 03/25/08 14:11:29 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pylucid/PyLucid/settings_example.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/settings_example.py
r1503 r1505 83 83 # response phase the middleware will be applied in reverse order. 84 84 # 85 # !!! IMPORTANT !!!86 # * In the first install phase (befor the database tables exists) the87 # 'SessionMiddleware' and 'AuthenticationMiddleware' must be deactivated!88 # * After "syncdb" you must activate 'SessionMiddleware' and89 # 'AuthenticationMiddleware'!90 # * The DebugPageCache should be *never* activated. Only for dev debugging.91 # !!! IMPORTANT !!!92 #93 85 MIDDLEWARE_CLASSES = ( 94 # DebugPageCache normaly not used. 95 # 'PyLucid.middlewares.page_cache_debug.DebugPageCache', 96 97 # Activate Session- and Authentication-Middleware after 'syncdb' : 98 # ------------------------------------------------------------------------- 99 # 'django.contrib.sessions.middleware.SessionMiddleware', 100 # 'django.contrib.auth.middleware.AuthenticationMiddleware', 101 # ------------------------------------------------------------------------- 102 103 'django.middleware.locale.LocaleMiddleware', 86 # PyLucidCommonMiddleware loads the django middlewares: 87 # - 'django.contrib.sessions.middleware.SessionMiddleware' 88 # - 'django.contrib.auth.middleware.AuthenticationMiddleware' 89 # - 'django.middleware.locale.LocaleMiddleware' 90 'PyLucid.middlewares.common.PyLucidCommonMiddleware', 91 104 92 'django.middleware.common.CommonMiddleware', 105 93 'django.middleware.doc.XViewMiddleware',