Changing user in admin deletes UserProfile
|Reported by:||jeverling||Owned by:||nobody|
|Severity:||Keywords:||UserProfile Admin User deletes|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by ramiro)
For me, changing a user in the admin interface, for example adding a first_name, deletes the corresponding UserProfile.
This doesn't happen when using the shell, only via the admin interface.
Both in current svn, and in 0.96.2.
I have created the UserProfile like so:
class UserProfile(models.Model): user = models.ForeignKey(User, unique=True, edit_inline=models.TABULAR, num_in_admin=1,min_num_in_admin=1, max_num_in_admin=1, num_extra_on_change=0, core=True)
AUTH_PROFILE_MODULE = 'myapp.UserProfile'
It works great, just changing a user in the admin interface deletes the UserProfile.
If this is in any way related to a wrong setup on my side, please excuse this ticket!
Change History (4)
comment:1 Changed 6 years ago by ramiro
- Description modified (diff)
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset