There were multiple different regex patterns in different urlpattern declarations, with some of them permitting characters which should not occur in group acronym. Changed them to consistently use [-a-z0-9]+ . - Legacy-Id: 11651
8 lines
276 B
Python
8 lines
276 B
Python
from django.conf.urls import patterns, url
|
|
|
|
|
|
urlpatterns = patterns('ietf.dbtemplate.views',
|
|
url(r'^(?P<acronym>[-a-z0-9]+)/$', 'template_list', name='template_list'),
|
|
url(r'^(?P<acronym>[-a-z0-9]+)/(?P<template_id>[\d]+)/$', 'template_edit', name='template_edit'),
|
|
)
|