view smiley/urls.py @ 1206:02181fa5ac9d modernize tip

Update to Django 1.9.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Jan 2025 17:58:16 -0600
parents 5ba2508939f7
children
line wrap: on
line source
"""
Urls for the Smiley application.
"""
from django.conf.urls import url

import smiley.views


urlpatterns = [
    url(r'^farm/$', smiley.views.farm, name='smiley-farm'),
    url(r'^farm/extra/$', smiley.views.farm, kwargs={'extra': True}, name='smiley-farm_extra'),
]