datatracker/ietf/submit/urls.py
2011-02-10 19:08:29 +00:00

24 lines
936 B
Python

from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('ietf.submit.views',
url(r'^$', 'submit_index', name='submit_index'),
url(r'^status/$', 'submit_status', name='submit_status'),
url(r'^status/(?P<submission_id>\d+)/$', 'draft_status', name='draft_status'),
url(r'^status/(?P<submission_id>\d+)/edit/$', 'draft_edit', name='draft_edit'),
url(r'^status/(?P<submission_id>\d+)/cancel/$', 'draft_cancel', name='draft_cancel'),
)
urlpatterns += patterns('django.views.generic.simple',
url(r'^note-well/$', 'direct_to_template',
{'template': 'submit/note_well.html',
'extra_context': {'selected': 'notewell'}
},
name='submit_note_well'),
url(r'^tool-instructions/$', 'direct_to_template',
{'template': 'submit/tool_instructions.html',
'extra_context': {'selected': 'instructions'}
},
name='submit_tool_instructions'),
)