view potd/urls.py @ 1209:d8bb9c36aae1 modernize tip

Add unit test for accounts task.
author Brian Neal <bgneal@gmail.com>
date Thu, 30 Jan 2025 18:46:03 -0600
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'),
]