Changes between Initial Version and Version 1 of Ticket #10227, comment 14
- Timestamp:
- Jul 31, 2015, 2:39:46 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10227, comment 14
initial v1 1 1 I came up with this work around as well, to check that when a user is saved it has an associated userprofile 2 2 {{{ 3 3 @receiver(post_save, sender=User) 4 4 def user_saved(sender, instance, created, **kwargs): … … 7 7 user_profile.user = instance 8 8 user_profile.save() 9 }}}