Re:DRY Principles through Python Decorators
by zallarak on Saturday June 08, 2013 @03:23AM
(#5844215)
How was he able to remove the try/except clause in this final registration function? I might be missing something but he no longer handles errors (if username, email, or password are not in request.POST it looks like register will be called with too few variables).
[ Parent
| on HN ]
There are no comments on this comment yet.