No, I just realized. But I tried import 'from projem.blogum.views
import LatestEntriesFeed' and I've had a 404 error. I guess, i have a
url error.
#My RSS class
class LatestEntriesFeed(Feed):
title = "site news"
link = "/projeler/haberler/"
description = "Updates on changes and additions"
#in urls.py
url(r'^projeler/rss/$', LatestEntriesFeed()),
Have a problem in urls?
My home url http://localhost:8000/projeler/
and rss url http://localhost:8000/projeler/haberler/
On Jun 8, 3:11 pm, Diego pascual lopez <[email protected]> wrote:
> Hi,
>
> Do you have in your blogum directory a feeds.py?
>
>
>
>
>
>
>
> On Fri, Jun 8, 2012 at 1:53 PM, armagan <[email protected]> wrote:
> > Hi,
>
> > I'm trying to implemente an rss to my project. I have done a simple
> > example in django doc. But I have an error in urls.py.
>
> > from 'blogum.feeds import LatestEntriesFeed' ==> I've imported this, I
> > have an error 'No module named feeds'.
>
> > Thanks in advance for any help provided.
>
> > Armağan
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.