Been working on this one for three days now. I'm stumped.
I've created my rss feed  from the example listed in The Definitive
Guide to Django: Web Development Done Right.
Unfortunately, I'm getting an ImproperlyConfigured error. I've been
looknig on the Djangoproject.com site and searching Google for a
solution, but so far I've been coming up empty.

Heres the error message:

Environment:

Request Method: GET
Request URL: http://localhost:8888/feeds/latest/
Django Version: 1.1.1
Python Version: 2.6.4
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'frenchmerchants.blog']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')


Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in
get_response
  92.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/lib/pymodules/python2.6/django/contrib/syndication/
views.py" in feed
  19.         feedgen = f(slug, request).get_feed(param)
File "/usr/lib/pymodules/python2.6/django/contrib/syndication/
feeds.py" in get_feed
  131.             link = add_domain(current_site.domain,
self.__get_dynamic_attr('item_link', item))
File "/usr/lib/pymodules/python2.6/django/contrib/syndication/
feeds.py" in __get_dynamic_attr
  58.                 return attr(obj)
File "/usr/lib/pymodules/python2.6/django/contrib/syndication/
feeds.py" in item_link
  41.             raise ImproperlyConfigured, "Give your %s class a
get_absolute_url() method, or define an item_link() method in your
Feed class." % item.__class__.__name__

Exception Type: ImproperlyConfigured at /feeds/latest/
Exception Value: Give your Entry class a get_absolute_url() method, or
define an item_link() method in your Feed class.

I'm thinking I'm neglecting to put something in my feed class, but
everything in the book is already there.  I did pull out the feed by
category, but I get the same error with or without it.
If this question and a solution have already been provided, please
accept my apologies.  I ran a search but haven't found anything here.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to