All entries tagged django.
You can subscribe to an RSS feed of this list.
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):
Is there a way to bypass this?
Like, have them logged to the console?
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), )
Roy Tang is a:
- programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart
- Frustrated writer and sketch artist
- Magic player on weekends
- Sometimes I stream video games.
- Software developer since 2003. If you’d like to work with me, take a look at my resume.
roytang.net is a personal site, an E/N site, and kind of a commonplace book; I post about a random assortment of topics that interest me including software development, Magic the Gathering, pop culture, gaming, and tech life. This site is perpetually under renovation.