On 5/8/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > On 5/8/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > > I would recommend you take a look at lost-theories.com source code. One > anti > > pattern that django docs seems to recommend is use > > django.contrib.auth.models.User as your main user model > ... > > and user.get_profile().friends.all() sounds wrong. > > With this you can say fuser.friends.get(). Natural. > > Replying to Django-user rather than Django-dev.
For context, please read the approach for extending User models as I borrowed from lost-theories source code: http://groups.google.com/group/django-developers/msg/55889eafe381a09b -- Amit Upadhyay Vakao! +91-9820-295-512 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---