Brian S. Stephan
fb04732ec3
recreates the choices view in facts, allowing for display of any fact category in the system, and providing a random item from it bss/dr.botzo#15
10 lines
288 B
Python
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'),
|
|
]
|