And there it is! Thanks Alex!
On Mar 17, 2:18 pm, Alex Gaynor wrote:
> On Tue, Mar 17, 2009 at 5:08 PM, Andrew Fong wrote:
>
> > Hello all,
>
> > Quick question. Given these models ...
>
> > class A(models.Model): pass
>
> > class B(models.Model):
> > model_a = models.ForeignKey(A)
>
> > ... g
On Tue, Mar 17, 2009 at 5:08 PM, Andrew Fong wrote:
>
> Hello all,
>
> Quick question. Given these models ...
>
> class A(models.Model): pass
>
> class B(models.Model):
> model_a = models.ForeignKey(A)
>
> ... getting the model_a attribute on an instance of B will result in
> that related object
Hello all,
Quick question. Given these models ...
class A(models.Model): pass
class B(models.Model):
model_a = models.ForeignKey(A)
... getting the model_a attribute on an instance of B will result in
that related object being cached. So the question: given an instance
of B, how do I know wh
3 matches
Mail list logo