2018 February
-
According to the documentation here: https://djangobook.com/syndication-feed-framework/
If link doesnβt return the domain, the syndication framework will insert the domain of the current site, according to your SITE_ID setting
However, I'm trying to generate a feed of magnet: links. The framework doesn't recognize this and attempts to append the SITE_ID, such that the links end up like this (on localhost):
<link>http://localhost:8000magnet:?xt=...</link>
Is there a way to bypass this?
2010 September
-
Like, have them logged to the console?
2010 January
-
💬 Reply to :
urlpatterns = patterns('',
(r'^salaries/employee/$', list_detail.object_list, 'employee_info'), )The third item in the tuple needs to be a dictionary, not a string. Try removing the single quotes around employee_info:
urlpatterns = patterns('', (r'^salaries/employee/$', list_detail.object_list, employee_info), )