Traceback (most recent call last):
File "D:\Python27\lib\wsgiref\handlers.py", line
85, in run
self.result = application(self.environ,
self.start_response)
File
"D:\Python27\lib\site-packages\django-1.4.1-py2.7.egg\django\contrib\staticfiles\handlers.py",
line 67, in _call_
return self.application(environ, start_response)
File "D:\Python27\lib\site-packages\django-1.4.1-py2.7.egg\django\core\handlers\wsgi.py",
line 219, in _call_
self.load_middleware()
File
"D:\Python27\lib\site-packages\django-1.4.1-py2.7.egg\django\core\handlers\base.py",
line 51, in load_middleware
raise exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s" class' % (mw_module,
mw_classname))
ImproperlyConfigured: Middleware module
"django.middleware.csrf" does not define a
"CsrfResponseMiddleware" class
[30/Sep/2012 02:16:52] "GET / HTTP/1.1" 500 59
Traceback (most recent call last):
File "D:\Python27\lib\wsgiref\handlers.py", line
85, in run
self.result = application(self.environ,
self.start_response)
File
"D:\Python27\lib\site-packages\django-1.4.1-py2.7.egg\django\contrib\staticfiles\handlers.py",
line 67, in _call_
return self.application(environ, start_response)
File
"D:\Python27\lib\site-packages\django-1.4.1-py2.7.egg\django\core\handlers\wsgi.py",
line 219, in _call_
self.load_middleware()
File
"D:\Python27\lib\site-packages\django-1.4.1-py2.7.egg\django\core\handlers\base.py",
line 51, in load_middleware
raise exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s" class' % (mw_module,
mw_classname))
ImproperlyConfigured: Middleware module
"django.middleware.csrf" does not define a
"CsrfResponseMiddleware" class
解决方法:
卸载掉django1.4.1的版本,添加1.3.1版本
1.删除掉django-1.4.2-py2.7.egg
例如: D:\Python27\Lib\site-packages\django-1.4.2-py2.7.egg
2.执行以下命令安装1.3.1版本
easy_install Django==1.3.1
|
相关推荐
安装OSQA步骤和所需软件【1】: python-2.6.2.msi easy_install:setuptools-0.6c11.win32-py2.6.exe Django-1.2.tar.gz OSQA安装全过程.doc 因每次只能上传20MB以内的文件,分批上传。
fantasy-island-0.9.0-beta3.tar.gz
OSQA Puppet 模块 该模块使用 Mysql 和 Apache 安装和配置 OSQA ( )。 从源安装最新的不稳定 osqa 模块 cd /etc/puppet/modules git clone git://github.com/Derpstack/puppet-module-osqa.git osqa cd osqa gem ...
奥斯卡 开放学习问题与解答
OSQA 平台主题。
坤吉卡 “它是由错误组成的软件。... Askbot可以替代OSQA,但是所有这些都变得商业化,这既糟糕又丑陋。 无法相信他们将开发开源版本多长时间。 DZone实际上使用开源社区来测试其产品,然后将其全部拿走。
[原网页] 从LSM-Tree、COLA-Tree谈到StackOverflow、OSQA [原网页] 程序员编程艺术第一~二十七章集锦与总结(教你如何编程),及PDF免分下载 [原网页] 教你如何迅速秒杀掉:99%的海量数据处理面试题 [原网页] 程序员...
Udacity 论坛在名为 OSQA 的免费开源软件上运行,该软件的设计类似于 StackOverflow 论坛。 基本结构是——论坛有节点。 所有节点都有一个 body 和 author_id。 顶级节点称为问题,也有标题和标签。 问题可以有答案...
界面相对来说较为清新,可定制程度较高,开源软件,基于python+django