django-moat
django-moat copied to clipboard
App is not compatible with Django==1.6.10
Here is what I get after installing app according to docs:
[14/Feb/2015 18:06:29] "GET / HTTP/1.1" 500 59
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__
return self.application(environ, start_response)
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__
return self.application(environ, start_response)
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__
self.load_middleware()
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 45, in load_middleware
mw_class = import_by_path(middleware_path)
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, in import_by_path
sys.exc_info()[2])
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/django/utils/module_loading.py", line 21, in import_by_path
module = import_module(module_path)
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/home/lukasz/workspace/cx-lab/projects/coffee_heroes/pyenv/local/lib/python2.7/site-packages/moat/middleware.py", line 16, in <module>
from django.http import HttpResponse, iri_to_uri, get_host
ImproperlyConfigured: Error importing module moat.middleware: "cannot import name iri_to_uri"