view gpp/smiley/urls.py @ 523:e9c446a64423

Was catching redis.RedisError exception, but already had local variable called redis. This seemed to work in development, but failed on Python 2.5.
author Brian Neal <bgneal@gmail.com>
date Sun, 18 Dec 2011 23:55:53 +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'),
)