Skip to content
Snippets Groups Projects
Commit 2c07bf71 authored by cahrens's avatar cahrens
Browse files

checklist_index is an integer.

parent ca5d0e89
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ urlpatterns += patterns(
url(r'^course$', 'index'),
# (?ix) == ignore case and verbose (multiline regex)
url(r'(?ix)^course/{}$'.format(parsers.URL_RE_SOURCE), 'course_handler'),
url(r'(?ix)^checklists/{}(/)?(?P<checklist_index>.+)?$'.format(parsers.URL_RE_SOURCE), 'checklists_handler'),
url(r'(?ix)^checklists/{}(/)?(?P<checklist_index>\d+)?$'.format(parsers.URL_RE_SOURCE), 'checklists_handler'),
)
js_info_dict = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment