Hello, seems like the OneToOneField is broken in the sense that the any model with such field with hit the db whenever the field is accessd. An example:
class Client(models.Model): account = models.OneToOneField(ClientAccount) class ClientAccount(models.Model): balance = models.IntegerField() >>> client = Client.objects.get(pk=1) >>> len(connection.queries) 1 >>> client.account.balance 400 >>> len(connection.queries) 2 >>> client.account.balance 400 >>> len(connection.queries) 3 Is this a bug or a is there some configuration problem that I've overlooked? Thanks. Ed --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

