datatracker/ietf/stats/urls.py
Henrik Levkowetz b7690fbdcd Changed additional regexes to r strings.
- Legacy-Id: 16377
2019-07-04 15:54:23 +00:00

15 lines
800 B
Python

# Copyright The IETF Trust 2016-2019, All Rights Reserved
from django.conf import settings
from ietf.stats import views
from ietf.utils.urls import url
urlpatterns = [
url(r"^$", views.stats_index),
url(r"^document/(?:(?P<stats_type>authors|pages|words|format|formlang|author/(?:documents|affiliation|country|continent|citations|hindex)|yearly/(?:affiliation|country|continent))/)?$", views.document_stats),
url(r"^knowncountries/$", views.known_countries_list),
url(r"^meeting/(?P<num>\d+)/(?P<stats_type>country|continent)/$", views.meeting_stats),
url(r"^meeting/(?:(?P<stats_type>overview|country|continent)/)?$", views.meeting_stats),
url(r"^review/(?:(?P<stats_type>completion|results|states|time)/)?(?:%(acronym)s/)?$" % settings.URL_REGEXPS, views.review_stats),
]