UPDATE:

This is fixed with the latest git code pull. I pulled approx. 5mins ago.

On Saturday, December 1, 2012 2:03:03 PM UTC-8, Detectedstealth wrote:
>
> Hi I just found when creating a custom user then using a StackedInline 
> everything will show up as expected however, when I then try to save 
> anything I get: 
>
> File "/Library/Python/2.7/site-packages/django/contrib/auth/hashers.py", 
> line 135, in identify_hasher
>     if len(encoded) == 32 and '$' not in encoded:
> TypeError: object of type 'NoneType' has no len()
> [01/Dec/2012 13:55:22] "POST /admin/profiles/customuser/1/ HTTP/1.1" 500 
> 542195
>
> It looks like it is caused by the hashed password field for some reason.
>
> If I remove the inlines = [ExperienceInline] from the 
> CustomUserAdmin(UserAdmin) I can save without any problems. 
>
> When I use WorkExperience (ExperienceInline) on its own admin page it 
> saves without a problem. When I put an StackedInline on the WorkExperience 
> page it also saves without any problems. 
>
> The problem only seems to happen when having a stacked inline inside of a 
> custom user admin page.
>
> Any suggestions? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/QhG9Css579UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to