Hey Sam, I've seen this as well.  I never got a chance to dig into it more,
but if you do figure out a fix please let us know.  It also is probably
worth filing an issue on Github to keep track of it.

In my experience it seemed like any sort of custom validation on a field in
a profile form caused this error if the field didn't validate.  I tried a
custom field type with validation and also model validators (
https://docs.djangoproject.com/en/1.6/ref/validators/) both of which
resulted in the error you described if the data didn't validate.


On Sun, Feb 9, 2014 at 9:35 PM, Sam Kingston <[email protected]> wrote:

> The full traceback:
>
> Traceback:
> File
> "/home/sam/WFS/mezzweb/lib/python2.7/site-packages/django/core/handlers/base.py"
> in get_response
>   114.                     response = wrapped_callback(request,
> *callback_args, **callback_kwargs)
> File
> "/home/sam/WFS/mezzweb/lib/python2.7/site-packages/django/contrib/auth/decorators.py"
> in _wrapped_view
>   22.                 return view_func(request, *args, **kwargs)
> File
> "/home/sam/WFS/mezzweb/lib/python2.7/site-packages/mezzanine/accounts/views.py"
> in profile_update
>   127.         user = form.save()
> File
> "/home/sam/WFS/mezzweb/lib/python2.7/site-packages/mezzanine/accounts/forms.py"
> in save
>   206.             profile_fields_form(self.data, self.files,
> instance=profile).save()
> File
> "/home/sam/WFS/mezzweb/lib/python2.7/site-packages/django/forms/models.py"
> in save
>   446.                              construct=False)
> File
> "/home/sam/WFS/mezzweb/lib/python2.7/site-packages/django/forms/models.py"
> in save_instance
>   80.                          " validate." % (opts.object_name,
> fail_message))
>
> Exception Type: ValueError at /accounts/update/
> Exception Value: The BillShipProfile could not be changed because the data
> didn't validate.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to