view potd/urls.py @ 845:41d0389fc85a

For issue #78, check is_public before showing weblinks or downloads.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Oct 2014 19:36:43 -0500
parents ee87ea74d46b
children 5ba2508939f7
line wrap: on
line source
"""
URLs for the POTD application.
"""
from django.conf.urls import patterns, url

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