annotate podcast/fixtures/channels.json @ 629:f4c043cf55ac

Wiki integration. Requests don't always have sessions. In particular this occurs when a request is made without a trailing slash. The Common middleware redirects when this happens, and the middleware process_request() processing stops before a session can get added. So just set an attribute on the request object for each operation. This seemed weird to me at first, but there are plenty of examples of this in the Django code base already.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Nov 2012 13:50:06 -0600
parents ee87ea74d46b
children
rev   line source
bgneal@236 1 [
bgneal@236 2 {
bgneal@236 3 "pk": 1,
bgneal@236 4 "model": "podcast.channel",
bgneal@236 5 "fields": {
bgneal@236 6 "category": "Music",
bgneal@236 7 "owner_name": "Brian Neal",
bgneal@236 8 "subtitle": "SurfGuitar101's podcast features the best in instrumental surf music from the 1960's to the present.",
bgneal@236 9 "language": "en",
bgneal@236 10 "copyright": "(C) Copyright 2007-2010 Brian Neal",
bgneal@236 11 "author": "SurfGuitar101.com Podcasters",
bgneal@236 12 "image": "podcast/podcast_logo.jpg",
bgneal@236 13 "title": "Surfguitar101.com's Podcast",
bgneal@236 14 "explicit": "no",
bgneal@236 15 "owner_email": "podcast@surfguitar101.com",
bgneal@236 16 "link": "http://surfguitar101.com/podcast/",
bgneal@236 17 "keywords": "surf, surf music, surf rock, instrumental, sixties, retro, instro, dick dale, surf guitar, sg101, reverb, instrumental surf",
bgneal@236 18 "description": "We play the best instrumental surf music from the 1960's to the present day, as well as interviews with surf musicians and surf music scene news."
bgneal@236 19 }
bgneal@236 20 }
bgneal@236 21 ]