dr.botzo/markov/urls.py
Brian S. Stephan 8f8af4e6b4 package updates and resulting compat stuff
changes to urls.py in the django views, trivial __init__ change for the
irc library stuff

bss/dr.botzo#16
2017-02-06 22:58:51 -06:00

12 lines
351 B
Python

"""URL patterns for markov stuff."""
from django.conf.urls import url
from django.views.generic import TemplateView
from markov.views import context_index
urlpatterns = [
url(r'^$', TemplateView.as_view(template_name='index.html'), name='markov_index'),
url(r'^context/(?P<context_id>\d+)/$', context_index, name='markov_context_index'),
]