view gpp/oembed/urls.py @ 370:e9a066db3f54

Adding some try/except around some key points in the code to protect against some IntegrityErrors. We log when these happens but otherwise keep going. Tickets: #160 and #169.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Mar 2011 00:40:50 +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'),
)