Mercurial > public > sg101
view oembed/urls.py @ 980:3ebde23a59d0
Pass timeout to requests instead of global timeout.
Global timeout didn't seem to work once we started using requests.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Oct 2015 18:35:56 -0500 |
parents | ee87ea74d46b |
children | 5ba2508939f7 |
line wrap: on
line source
""" URLs for the oembed application. """ from django.conf.urls import patterns, url 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'), )