eventray/horus — pull request #43 by Vigrond (2014-04-25 17:36:21+00:00)
Title: db.flush after creating Activation to generate code

currently reset_password emails look like this:

Hello, user!

Someone requested resetting your password. If it was you, click here:
http://localhost/reset_password/None

db.flush() should be called in order to generate the activation.code before throwing it in an email.