j2labs/dictshield — Issue #20: Documentation typos/clarifications
Author: alexanderdean
Created: 2011-10-25 07:44:24+00:00
State: open

print 'ShieldException caught: %s' % (se))

^ Additional bracket on end

json_string = request.get_arg('data')
user_input = json.loads(json_string)
u.validate(**user_input)

^ u not defined above. (Also: "This method builds a User instance out of the input, which also throws away keys that aren't in the User definition." - how does the above code know to build a User instance rather than say a Media document? I can't see any reference to User.)