First time here? Check out the FAQ!
0

No module named feeds

I have finished configuring djangobb, djangowiki and askbot on my new site. The problem is that everything works before adding askbot urls.py to my main urls.py. After I add askbot url to urls.py the error ImportError at / No module named feeds Request Method: GET Request URL: http://www.**ght.com/ Django Version: 1.4.5 Exception Type: ImportError Exception Value:
No module named feeds Exception Location: /home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/feed.py in <module>, line 17 Python Executable: /usr/local/bin/python Python Version: 2.7.3 Python Path:
['/home/magicflight/webapps/django', '/home/magicflight/webapps/django/magic_project', '/home/magicflight/webapps/django/lib/python2.7', '/home/magicflight/lib/python2.7/pip-1.3.1-py2.7.egg', '/home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg', '/home/magicflight/lib/python2.7/Django-1.4.5-py2.7.egg', '/home/magicflight/lib/python2.7', '/home/magicflight/PYTHONPATH', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages/PIL', '/home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/deps'] Server time: Thu, 28 Mar 2013 22:39:19 -0500 Traceback Switch to copy-and-paste view

/home/magicflight/webapps/django/lib/python2.7/django/core/handlers/base.py in get_response request.path_info) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/core/urlresolvers.py in resolve for pattern in self.url_patterns: ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/core/urlresolvers.py in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/core/urlresolvers.py in urlconf_module self._urlconf_module = import_module(self.urlconf_name) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/utils/importlib.py in import_module __import__(name) ... ▶ Local vars /home/magicflight/webapps/django/magic_project/magic_project/urls.py in <module> (r'%s' % settings.ASKBOT_URL, include('askbot.urls')) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/conf/urls/__init__.py in include urlconf_module = import_module(urlconf_module) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/utils/importlib.py in import_module __import__(name) ... ▶ Local vars /home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/urls.py in <module> from askbot.feed import RssLastestQuestionsFeed, RssIndividualQuestionFeed ... ▶ Local vars /home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/feed.py in <module> from django.contrib.syndication.feeds import Feed ... ▶ Local vars Request information

GET No GET data POST No POST data FILES No FILES data COOKIES No cookie data META Variable Value mod_wsgi.listener_port
'27442' HTTP_X_FORWARDED_SERVER 'www.*t.com' HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.8' SERVER_PROTOCOL 'HTTP/1.0' SERVER_SOFTWARE 'Apache/2.2.17 (Unix) mod_wsgi/3.4 Python/2.7.3' SCRIPT_NAME u'' mod_wsgi.enable_sendfile
'0' mod_wsgi.handler_script '' SERVER_SIGNATURE
'' REQUEST_METHOD
'GET' HTTP_HTTPS
'off' PATH_INFO
u'/' HTTP_X_FORWARDED_SSL
'off' QUERY_STRING
'' HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7 ...
(more)

gorge's avatar
21
gorge
asked 2013-03-28 23:10:42 -0500, updated 2013-03-28 23:14:27 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I think you've tagged this question incorrectly with the version 0.7.48 you seem to have 43.

Evgeny's avatar Evgeny (2013-03-28 23:16:15 -0500) edit
add a comment see more comments

1 Answer

0

There should be:

from django.contrib.syndication.views import Feed

I think version 0.7.43 does not support Django 1.4 due to the changes in the feeds module.

Evgeny's avatar
13.2k
Evgeny
answered 2013-03-28 23:15:42 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments