view potd/urls.py @ 1185:8ec03abf16c1

Part of the last commit. :(
author Brian Neal <bgneal@gmail.com>
date Sun, 17 Oct 2021 15:07:54 -0500
parents 5ba2508939f7
children
line wrap: on
line source
"""
URLs for the POTD application.
"""
from django.conf.urls import url

import potd.views


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