view 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
line wrap: on
line source
[
    {
        "pk": 1, 
        "model": "podcast.channel", 
        "fields": {
            "category": "Music", 
            "owner_name": "Brian Neal", 
            "subtitle": "SurfGuitar101's podcast features the best in instrumental surf music from the 1960's to the present.", 
            "language": "en", 
            "copyright": "(C) Copyright 2007-2010 Brian Neal", 
            "author": "SurfGuitar101.com Podcasters", 
            "image": "podcast/podcast_logo.jpg", 
            "title": "Surfguitar101.com's Podcast", 
            "explicit": "no", 
            "owner_email": "podcast@surfguitar101.com", 
            "link": "http://surfguitar101.com/podcast/", 
            "keywords": "surf, surf music, surf rock, instrumental, sixties, retro, instro, dick dale, surf guitar, sg101, reverb, instrumental surf", 
            "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."
        }
    }
]