2014-04-05 10:52:29 -05:00
|
|
|
"""
|
|
|
|
markov/urls.py --- url patterns for markov stuff
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
|
|
|
urlpatterns = patterns('markov.views',
|
|
|
|
url(r'^$', 'index', name='markov_index'),
|
2014-04-05 14:26:06 -05:00
|
|
|
url(r'^context/(?P<context_id>\d+)/$', 'context_index', name='markov_context_index'),
|
2014-04-05 10:52:29 -05:00
|
|
|
url(r'^import/$', 'import_file', name='markov_import_file'),
|
2014-04-05 14:53:05 -05:00
|
|
|
url(r'^teach/$', 'teach_line', name='markov_teach_line'),
|
2014-04-05 10:52:29 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
# vi:tabstop=4:expandtab:autoindent
|