Simple Feeds Not Working

6 views
Skip to first unread message

Trey Piepmeier

unread,
Sep 22, 2007, 4:25:17 PM9/22/07
to Django users
I can't seem to get the most basic of feeds working by following the
instructions here: http://www.djangoproject.com/documentation/syndication_feeds/

I keep getting this error message:

---

DoesNotExist at /feeds/feed_name/
Site matching query does not exist.

Request Method: GET
Request URL: http://localhost:8000/feeds/feed_name/
Exception Type: DoesNotExist
Exception Value: Site matching query does not exist.
Exception Location: /Users/trey/Sites/django/django_src/django/db/
models/query.py in get, line 263
Python Executable: /Library/Frameworks/Python.framework/Versions/2.4/
Resources/Python.app/Contents/MacOS/Python
Python Version: 2.4.4

---

Any idea what might be going on here? Is this something to do with
the "sites framework"? I'm not doing anything with that framework--I
have it installed simply because it's the default and because I
thought I might end up using it eventually.

Trey Piepmeier

unread,
Sep 23, 2007, 7:12:55 PM9/23/07
to Django users
I figured out what was going wrong. I had the Sites Framework
enabled, but I wasn't using it. Apparently, having anything but
example.com in that database table was was what was screwing it up.
Once I put example.com back in there, it started working. Removing
the framework from the INSTALLED_APPS section of settings.py and
deleting the django_site table works, too.

Reply all
Reply to author
Forward
0 new messages