I was wrong. There wasn't any issue with the unicode. Your fixed worked
perfectly. I just had to change my comparison from
password is not password_confirm
to
password != password_confirm
and it's working great now. Thanks a lot!
On Thu, Sep 22, 2011 at 12:04 PM, Kurtis Mullins
wrote:
> Thank
Thanks Daniel! You were right on cue with that. I tried your code and for
some reason the value is being returned as a standard string instead of a
unicode string, as far as I can tell. (Effectively, my password and
passwordConfirm are not matching anymore). Hopefully once I get that worked
out, th
On Thursday, 22 September 2011 15:18:15 UTC+1, Kurtis wrote:
>
> Sorry, I guess I should've posted that as well :)
>
> import string
> class PasswordField(forms.CharField):
>
> # Setup the Field
> def __init__(self, *args, **kwargs):
> super(PasswordField, self).__init__(min_le
Sorry, I guess I should've posted that as well :)
import string
class PasswordField(forms.CharField):
# Setup the Field
def __init__(self, *args, **kwargs):
super(PasswordField, self).__init__(min_length = 7, required = True,
label = u'Password',
On Wednesday, 21 September 2011 23:42:02 UTC+1, Kurtis wrote:
>
> Hey,
>
> I've created my own User Registration FormView. Everything seems to
> work great except the password is always saved as "!". I can change
> that with the "password changer" in the admin section of the site. I
> am usin
I didn't realize the code would come out so unreadable. It's also
posted here: http://dpaste.com/618619/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this
6 matches
Mail list logo