Mercurial > public > sg101
annotate 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 |
rev | line source |
---|---|
bgneal@285 | 1 """ |
bgneal@285 | 2 URLs for the oembed application. |
bgneal@285 | 3 """ |
bgneal@285 | 4 from django.conf.urls.defaults import * |
bgneal@285 | 5 |
bgneal@285 | 6 urlpatterns = patterns('oembed.views', |
bgneal@285 | 7 url(r'^fetch/$', 'fetch_media', name='oembed-fetch_media'), |
bgneal@286 | 8 url(r'^fetch_saved/$', 'fetch_saved_media', name='oembed-fetch_saved_media'), |
bgneal@285 | 9 ) |