view gpp/smiley/urls.py @ 387:b15726767ab8

Fixing #191; terrible performance on the combined forums RSS feed query. Use an .extra() clause to force the WHERE on a query to use the primary key.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Mar 2011 01:52:41 +0000
parents 3ae999b0c53b
children ddd69a8e07c7
line wrap: on
line source
"""
Urls for the Smiley application.
"""

from django.conf.urls.defaults import *

urlpatterns = patterns('smiley.views',
    url(r'^farm/$', 'farm', name='smiley-farm'),
    url(r'^farm/extra/$', 'farm', kwargs={'extra': True}, name='smiley-farm_extra'),
)