view gpp/potd/urls.py @ 101:4bbb6a9aa317

Forums: use select_related() with get_object_or_404() to reduce queries.
author Brian Neal <bgneal@gmail.com>
date Wed, 16 Sep 2009 00:39:27 +0000
parents 7b6540b185d9
children ddd69a8e07c7
line wrap: on
line source
"""
URLs for the POTD application.
"""
from django.conf.urls.defaults import *

urlpatterns = patterns('potd.views',
    url(r'^$', 'view', name='potd-view'),
    url(r'^archive/(\d+)/$', 'archive', name='potd-archive'),
)