#16463 closed Bug (invalid)
comment_form_target throws "Could not import django.contrib.syndication.views.feed" error, no such reference to feed found
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.comments | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I'm getting the following when trying to render a template with {% comment_form_target %} in it.
"Caught ViewDoesNotExist while rendering: Could not import django.contrib.syndication.views.feed. View does not exist in module django.contrib.syndication.views."
The log is here http://dpaste.com/hold/568080/
I have replaced all references to the deprecated
from django.contrib.syndication.views import Feed
and replaced it with
from django.contrib.syndication.feeds import Feed
I also can't find any references to the old Feed, this is why I believe this to be a bug. Will provide more information if needed of course.
Change History (3)
comment:1 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 13 years ago
I understand, but the error Django returns gives very little information. Or has there been a deprecation error in 1.3 but did I mis it because I just got the code and moved to svn right away?
I found that there was a typo in my code; django.contrib.syndication.views.feed should have been django.contrib.syndication.views.Feed. However, I got this code from an svn source I have access to, from an existing site I'll be going to manage soon. I'm running svn, while the server the site is on currently runs django v1.2.something, on the same code, with .feed instead of .Feed. Shouldn't there be some kind of deprecation warning here too?