ok, thanks!

On Oct 5, 12:09 pm, Russell Keith-Magee <freakboy3...@gmail.com>
wrote:
> On Mon, Oct 5, 2009 at 6:31 PM, anentropic <p...@blues.co.nz> wrote:
>
> > So I just have to hard-code the feed urls in my templates?
>
> In short, yes.
>
> The feeds framework predates the introduction of named URLs in Django,
> and as a result the original implementation didn't include named urls.
> The feeds framework is badly in need of a rewrite, and this is one of
> the issues that needs to be addressed.
>
> Yours,
> Russ Magee %-)
>
>
>
> > On Sep 30, 3:23 pm, anentropic <p...@blues.co.nz> wrote:
> >> Anyone?  Is it possible to reverse those urls?
>
> >> The feeds framework implementation seems like a dirty hack to urls.py
> >> (but otherwise works great!)
>
> >> On Sep 29, 4:57 pm, anentropic <p...@blues.co.nz> wrote:
>
> >> > I've been setting up feeds using the syndication feed framework.
>
> >> > I have a line like this in my urls.py:
>
> >> >     (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
> >> > {'feed_dict': feeds}),
>
> >> > How do I avoid hard-coding the feed urls into my template?
>
> >> > I want to {% url django.contrib.syndication.views.feed.feed_name
> >> > params %} in my html templates to generate the <link rel="alternate"/>
> >> > tags
>
> >> > ...but it doesn't work for me (should it?)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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