i am using django feed syndication framework.
1) .in urls.py
feeds = {
'category': LatestTopicsByCategory,
}
urlpatterns += patterns('',
url(r'^feeds/(?P<url>.*)/$',
'django.contrib.syndication.views.feed' , {'feed_dict':
feeds},name='djorum_feed_url') ,
)
LatestTopicsByCategory is the class which generates feed for every
category.
/feeds/category/1 ===========> generates feed for category 1
-----------------------
Now i want to make this feedurl in template based on the categoryid?
How do i reverse lookup from the djorum_feed_url (in urls.py) ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---