actions, move parse_decimal
This commit is contained in:
parent
d50d242c45
commit
07dcc77950
7 changed files with 44 additions and 33 deletions
|
|
@ -170,6 +170,9 @@ def findUser(request):
|
|||
actions.register(findUser)
|
||||
|
||||
def recover(request, key):
|
||||
'''
|
||||
recover user and redirect to settings
|
||||
'''
|
||||
qs = models.UserProfile.objects.filter(recover_key=key)
|
||||
if qs.count() == 1:
|
||||
user = qs[0].user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue