annotate gpp/oembed/urls.py @ 574:ddd69a8e07c7

For Django 1.4, use django.conf.urls instead of django.conf.urls.defaults.
author Brian Neal <bgneal@gmail.com>
date Thu, 03 May 2012 20:45:16 -0500
parents 72fd300685d5
children
rev   line source
bgneal@285 1 """
bgneal@285 2 URLs for the oembed application.
bgneal@285 3 """
bgneal@574 4 from django.conf.urls import patterns, url
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 )