Brian S. Stephan
8f8af4e6b4
changes to urls.py in the django views, trivial __init__ change for the irc library stuff bss/dr.botzo#16
12 lines
351 B
Python
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'),
|
|
]
|