dr.botzo/facts/urls.py

10 lines
288 B
Python

"""URL patterns for the facts web views."""
from django.conf.urls import url
from facts.views import index, factcategory_detail
urlpatterns = [
url(r'^$', index, name='facts_index'),
url(r'^(?P<factcategory_name>.+)/$', factcategory_detail, name='facts_factcategory_detail'),
]