I solved the problem. I used application's urls.py not project's
urls.py and update urls like (r'^rss/$', LatestEntriesFeed()).
Thanks for help.
On Jun 8, 3:45 pm, Diego pascual lopez <
azoti...@gmail.com> wrote:
> On Fri, Jun 8, 2012 at 2:23 PM, armagan <
armagan.er...@gmail.com> wrote:
> > 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()),
>
> I think you should send a function name not a class name in the second
> parameter.
>
> you should checkhttps://
docs.djangoproject.com/en/dev/topics/http/urls/#urltocreate
> patterns in your urls.py and check if you create your app
> correctly.
>
> do you use startapp toolhttps://
docs.djangoproject.com/en/dev/ref/django-admin/#startapp-appn...
>
>
>
>
>
>
>
>
>
> > Have a problem in urls?
>
> > My home urlhttp://localhost:8000/projeler/
>
> > and rss urlhttp://localhost:8000/projeler/haberler/