datatracker/ietf/liaisons/urls.py
Ole Laursen 4250a95556 Remove proxy layer from liaisons tool, do some minor cleanups of
duplicated code, make sure the custom form widgets escape their input.

There's still a bit of custom proxying going on in the IETFHM class
hierarchy.
 - Legacy-Id: 6794
2013-12-05 13:54:48 +00:00

24 lines
1.3 KiB
Python

# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns, url
from django.db.models import Q
urlpatterns = patterns('django.views.generic.simple',
(r'^help/$', 'direct_to_template', {'template': 'liaisons/help.html'}),
(r'^help/fields/$', 'direct_to_template', {'template': 'liaisons/field_help.html'}),
(r'^help/from_ietf/$', 'direct_to_template', {'template': 'liaisons/guide_from_ietf.html'}),
(r'^help/to_ietf/$', 'direct_to_template', {'template': 'liaisons/guide_to_ietf.html'}),
(r'^managers/$', 'redirect_to', { 'url': 'http://www.ietf.org/liaison/managers.html' })
)
urlpatterns += patterns('ietf.liaisons.views',
url(r'^$', 'liaison_list', name='liaison_list'),
url(r'^(?P<object_id>\d+)/$', 'liaison_detail', name='liaison_detail'),
url(r'^(?P<object_id>\d+)/edit/$', 'liaison_edit', name='liaison_edit'),
url(r'^for_approval/$', 'liaison_approval_list', name='liaison_approval_list'),
url(r'^for_approval/(?P<object_id>\d+)/$', 'liaison_approval_detail', name='liaison_approval_detail'),
url(r'^add/$', 'add_liaison', name='add_liaison'),
url(r'^ajax/get_info/$', 'get_info', name='get_info'),
url(r'^ajax/liaison_list/$', 'ajax_liaison_list', name='ajax_liaison_list'),
)