Hello Jon,
have you ever found a solution for this? Thanks.
On Tuesday, June 14, 2011 5:04:09 PM UTC+2, Jon Biddle wrote:
>
> The issue seems to come from the fact that the order of operations
> when you create the user looks like this:
>
> 1) Django admin saves the new User
> 2) post_save on
The issue seems to come from the fact that the order of operations
when you create the user looks like this:
1) Django admin saves the new User
2) post_save on User is triggered, and User's profile is created
3) Django admin saves the UserProfile... but it already exists, and an
integrity error is
On 26 May 2011 10:23, Jani Tiainen wrote:
> If I extend auth.User with custom profile and add automatic profile
> creation signal it works as expected.
>
> But if I try to add admin inline editor for profile when saving I get
> exception about integration violation.
>
> It happens because admin t
If I extend auth.User with custom profile and add automatic profile
creation signal it works as expected.
But if I try to add admin inline editor for profile when saving I get
exception about integration violation.
It happens because admin tries to create second profile for user when
saving.
I
4 matches
Mail list logo