Wednesday, December 7, 2011

Re: slow function

On Wed, 2011-12-07 at 05:48 -0800, Derek wrote:
> > I make similar names - although frankly I do not know where I got
> the
> > impression from and whether it is correct or not.
>
> Yes, I would agree with that. So code like:
>
> scrs = Score.objects.all()
>
> could then be written as:
>
> scores = Score.objects.all()
>
> so it will then be fairly obvious (downstream of the assignment) that
> `scores` contains data from the `Score` model.
>
>

makes sense - and saves the time spent cooking up names.
--
regards
Kenneth Gonsalves

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate