Changes between Initial Version and Version 1 of Ticket #7370


Ignore:
Timestamp:
Jun 16, 2008, 10:29:53 AM (16 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7370 – Description

    initial v1  
    55Both in current svn, and in 0.96.2.
    66I have created the UserProfile like so:
     7
    78models.py:
     9{{{
    810class UserProfile(models.Model):
    911    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}}}
    1013
    1114settings.py:
     15{{{
    1216AUTH_PROFILE_MODULE = 'myapp.UserProfile'
    13 
     17}}}
    1418
    1519It works great, just changing a user in the admin interface deletes the UserProfile.
Back to Top