annotate bns_website/videos/urls.py @ 62:93e9e7b3d2ae

Put in an import dance for Python 2.5. Apparently cgi.parse_qs was copied to urlparse in Python 2.6. So look for it first in urlparse, and if not found, try cgi.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Nov 2011 14:47:17 -0600
parents a0d3bc630ebd
children
rev   line source
bgneal@60 1 """
bgneal@60 2 URLs for the videos application.
bgneal@60 3
bgneal@60 4 """
bgneal@60 5 from django.conf.urls.defaults import *
bgneal@60 6
bgneal@60 7 urlpatterns = patterns('videos.views',
bgneal@60 8 url(r'^$', 'index', name='videos'),
bgneal@60 9 )