Changes between Initial Version and Version 1 of Ticket #7370
- Timestamp:
- Jun 16, 2008, 10:29:53 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7370 – Description
initial v1 5 5 Both in current svn, and in 0.96.2. 6 6 I have created the UserProfile like so: 7 7 8 models.py: 9 {{{ 8 10 class UserProfile(models.Model): 9 11 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) 12 }}} 10 13 11 14 settings.py: 15 {{{ 12 16 AUTH_PROFILE_MODULE = 'myapp.UserProfile' 13 17 }}} 14 18 15 19 It works great, just changing a user in the admin interface deletes the UserProfile.