Mercurial > public > sg101
annotate gpp/oembed/urls.py @ 327:a1bf6cf49720
Modified the implementation of the avatar tag to look for an attribute 'user_profile' on the user object. If present, this is assumed to be the profile. This improves the performance of the member list and some forum views.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 22 Feb 2011 02:11:26 +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 ) |