datatracker/ietf/stats/urls.py
Ole Laursen ce2180971a Revamp choice parsing a bit in statistics section, add time choice to
documents to be able to choose between all time and recent drafts
 - Legacy-Id: 12751
2017-01-30 13:34:17 +00:00

11 lines
435 B
Python

from django.conf.urls import patterns, url
from django.conf import settings
import ietf.stats.views
urlpatterns = patterns('',
url("^$", ietf.stats.views.stats_index),
url("^document/(?:(?P<stats_type>authors|pages|words|format|formlang)/)?$", ietf.stats.views.document_stats),
url("^review/(?:(?P<stats_type>completion|results|states|time)/)?(?:%(acronym)s/)?$" % settings.URL_REGEXPS, ietf.stats.views.review_stats),
)