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. I'm having this issue currently as well-- an app I'm working on is heavily based on profiles and relations to it, so most code is constantly doing user.get_profile.something. However, consider that this alternate approach forces apps to be coupled within a project. I don't see a simple solution to this. :-/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

