We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e62a80 commit b5bc04cCopy full SHA for b5bc04c
roundup/cgi/templating.py
@@ -341,7 +341,7 @@ def __init__(self, client):
341
# we want config to be exposed
342
self.config = client.db.config
343
344
- def __getitem__(self, item, desre=re.compile(r'(?P<cl>\w+)(?P<id>[-\d]+)')):
+ def __getitem__(self, item, desre=re.compile(r'(?P<cl>[a-zA-Z_]+)(?P<id>[-\d]+)')):
345
# check to see if we're actually accessing an item
346
m = desre.match(item)
347
if m:
0 commit comments