﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14724	Auth Password Reset View depends on Integer user ID,	domguard	nobody	"I'm using this evil (but so useful) patch to use UUID instead of Integers for User ID :
http://djangosnippets.org/snippets/1497/
[[BR]]
I have to use UUID, the project needs it, well...
[[BR]]
I don't know if this will become a future django option, so I don't know if this can be called a bug or a feature request

'''django.contrib.auth.forms.PasswordResetForm''' adds this in the  context :
{{{
'uid': int_to_base36(user.id)
}}}
Which is then then passed to '''django.auth.contrib.views.password_reset_confirm''' who just
{{{
uid_int = base36_to_int(uidb36)
}}}
and then
{{{
user = get_object_or_404(User, id=uid_int)
}}}

Python hangs with a 100% CPU when a UUID is provided
[[BR]]
I patched the files as I could but a better coder (than me) could perhaps add a less integer-dependant logic here ?

thanks"		closed	contrib.auth	1.2		duplicate	User ID UUID		Unreviewed	0	0	0	0	0	0
