in order to autogenerate dotted path url pattern names. Updated a number of url reverses to use dotted path, and removed explicit url pattern names as needed. Changed some imports to prevent import of ietf.urls before django initialization was complete. Changed 3 cases of form classes being curried to functions; django 1.10 didn't accept that. Started converting old-style middleware classes to new-style middleware functions (incomplete). Tweaked a nomcom decorator to preserve function names and attributes, like a good decorator should. Replaced the removed django templatetag 'removetags' with our own version which uses bleach, and does sanitizing in addition to removing explicitly mentionied html tags. Rewrote the filename argument handling in a management command which had broken with the upgrade. - Legacy-Id: 12818
22 lines
884 B
Python
22 lines
884 B
Python
# Copyright The IETF Trust 2007, All Rights Reserved
|
|
|
|
from django.conf.urls import include
|
|
from django.conf import settings
|
|
|
|
from ietf.group import views, views_ajax, views_edit
|
|
from ietf.utils.urls import url
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.active_groups),
|
|
url(r'^groupmenu.json', views_ajax.group_menu_data, None, "group_menu_data"),
|
|
url(r'^%(acronym)s.json$' % settings.URL_REGEXPS, views_ajax.group_json),
|
|
url(r'^chartering/$', views.chartering_groups),
|
|
url(r'^chartering/create/(?P<group_type>(wg|rg))/$', views_edit.edit, {'action': "charter"}),
|
|
url(r'^concluded/$', views.concluded_groups),
|
|
url(r'^email-aliases/$', views.email_aliases),
|
|
url(r'^all-status/$', views.all_status),
|
|
|
|
url(r'^%(acronym)s/$' % settings.URL_REGEXPS, views.group_home),
|
|
url(r'^%(acronym)s/' % settings.URL_REGEXPS, include('ietf.group.urls_info_details')),
|
|
]
|