Mongo removal: Remove the validate=True arg to obj.save()

all callers were forced to use validate=True anyway. So
remove this useless stuff.
This commit is contained in:
Elrond
2012-12-23 21:01:13 +01:00
parent 1eac751bd2
commit b39d1f2351
6 changed files with 9 additions and 10 deletions

View File

@@ -82,7 +82,7 @@ def register(request):
user.pw_hash = auth_lib.bcrypt_gen_password_hash(
request.form['password'])
user.verification_key = unicode(uuid.uuid4())
user.save(validate=True)
user.save()
# log the user in
request.session['user_id'] = unicode(user.id)