On Jun 12, 11:44 pm, "Bartek Gniado" <[EMAIL PROTECTED]> wrote:
> Instead of over complicating it like this. Why not just use memcached or
> django's own cache?
He's referring to:
http://www.djangoproject.com/documentation/cache/
--~--~-~--~~~---~--~~
You receive
Instead of over complicating it like this. Why not just use memcached or
django's own cache?
On Thu, Jun 12, 2008 at 11:45 AM, Juan Hernandez <[EMAIL PROTECTED]>
wrote:
> Hey there, I have a question concerning performance and best practices
>
> I have this piece of code in one of my views
>
> ==
Hey there, I have a question concerning performance and best practices
I have this piece of code in one of my views
=
# query execution
def db():
return bp.objects.all()
def title():
x = db()
y = x[0].title
return y
def blogSubtitle():
return bp.objec
3 matches
Mail list logo