view gpp/oembed/urls.py @ 523:e9c446a64423

Was catching redis.RedisError exception, but already had local variable called redis. This seemed to work in development, but failed on Python 2.5.
author Brian Neal <bgneal@gmail.com>
date Sun, 18 Dec 2011 23:55:53 +0000
parents 72fd300685d5
children ddd69a8e07c7
line wrap: on
line source
"""
URLs for the oembed application.
"""
from django.conf.urls.defaults import *

urlpatterns = patterns('oembed.views',
    url(r'^fetch/$', 'fetch_media', name='oembed-fetch_media'),
    url(r'^fetch_saved/$', 'fetch_saved_media', name='oembed-fetch_saved_media'),
)