Commit eff6c89a authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Update regex and call Text.init() in Name.

parent 918fb3fc
......@@ -7,7 +7,8 @@ Context = Dict(classname='Context', null=True)
class Name(Text):
def init(self):
self.opts.update({'regex': "[\w.:]+", 'maxlen':512})
self.opts.update({'regex': "[\w.:@+/]+", 'maxlen':512})
Text.init(self)
class Nonnegative(Integer):
def init(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment