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 -~----------~----~----~----~------~----~------~--~---