Thanks,

Luke Plant wrote:
> On Sat, 14 Jan 2006 13:31:52 -0000 ChaosKCW wrote:
>
> > In the Reporter/Article example on the Django site, to get the
> > reporter of an article requires you to call the a method:
> >
> >  reporter =  article.get_reporter()
> >
> > Is there some reason this isnt dont automactically for you on as
> > follows on attr access:
> >
> >  reporter = article.reporter
>
> There is a proposal to do this already:
> http://code.djangoproject.com/wiki/DescriptorFields
>
> One reason for the way it is at the moment is it's easy to see when you
> are doing a database hit.
>
> Luke
>
>
> --
> "He knows the way I take: when he has tried me, I shall come forth as
> gold" (Job 23:10).
> 
> Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/

Reply via email to