Yeah, sorry, whoops.  The id hack is still useful in some other
scenarios, but the problem you mentioned is exactly why they added
this created flag.  So, that's the best choice here.

On Dec 14, 4:44 am, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Hmm...But if user instance doesn't have an id, how this code will
> work:
>
> profile = Profile( user = instance )
> profile.save()
>
> ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to