annotate gpp/oembed/urls.py @ 388:c3231af55778

For #191; r410 is wrong: it is returning the wrong posts. Rework. MySQL is not using an index on our query, and it is taking 10+ seconds. Replace this slow query with a loop that loops over the public forums, then sorts and returns the posts.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Mar 2011 05:03:51 +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 )