Mercurial > public > sg101
annotate gpp/oembed/urls.py @ 580:c525f3e0b5d0
Use the static() function to serve MEDIA files in development.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 May 2012 15:08:07 -0500 |
parents | ddd69a8e07c7 |
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 ) |