瀏覽代碼

Move location of users middleware

tags/v1.0.0
Isaac Bythewood 11 年之前
父節點
當前提交
c7e1e1cd83
共有 2 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      pinry/settings/__init__.py
  2. +0
    -0
      pinry/users/middleware.py

+ 1
- 1
pinry/settings/__init__.py 查看文件

@@ -44,7 +44,7 @@ MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'pinry.core.middleware.Public',
'pinry.users.middleware.Public',
)
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',


pinry/core/middleware.py → pinry/users/middleware.py 查看文件


Loading…
取消
儲存