Thank you for information:)
2013/2/16 Christophe Pettus :
>
> On Feb 16, 2013, at 9:16 AM, Christophe Pettus wrote:
>
>>
>> On Feb 16, 2013, at 8:50 AM, ozgur yilmaz wrote:
>>
>>> I'm using template fragment caching in my project. I'm wondering what
>>> the view function do when template fragment
On Feb 16, 2013, at 9:16 AM, Christophe Pettus wrote:
>
> On Feb 16, 2013, at 8:50 AM, ozgur yilmaz wrote:
>
>> I'm using template fragment caching in my project. I'm wondering what
>> the view function do when template fragment caching is active? Are
>> queries in the view function be executed
On Feb 16, 2013, at 8:50 AM, ozgur yilmaz wrote:
> I'm using template fragment caching in my project. I'm wondering what
> the view function do when template fragment caching is active? Are
> queries in the view function be executed? Or bypass the queries and
> read the cached fragment?
The view
Hi all,
I'm using template fragment caching in my project. I'm wondering what
the view function do when template fragment caching is active? Are
queries in the view function be executed? Or bypass the queries and
read the cached fragment?
Thanks,
--
You received this message because you are sub
On Wed, Oct 5, 2011 at 3:09 PM, Tsung-Hsien wrote:
> I want to put pictures on website and to let each row shows only four
> pictures, but I write the template which shows each pictures in the
> same row.
> the loop within the , I think it should include and add if
> syntax to do that.
> How to w
I want to put pictures on website and to let each row shows only four
pictures, but I write the template which shows each pictures in the
same row.
the loop within the , I think it should include and add if
syntax to do that.
How to write the syntax?
thanks!
{% load static %}
{% get_static_prefix
well this sounds good..
thanks for the information russell .
Mulianto
On Sun, Aug 14, 2011 at 3:31 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
>
> On Sunday, August 14, 2011, Phang Mulianto wrote:
> > Thanks Reinout for the response,
> >
> > i read the doc , just in time compilat
On Sunday, August 14, 2011, Phang Mulianto wrote:
> Thanks Reinout for the response,
>
> i read the doc , just in time compilation to Python bytecode is used in
jinja..
>
> is django default template also do this ?
>
> which i see the reason why jinja faster.
Django's template engine doesn't curr
Thanks Reinout for the response,
i read the doc , just in time compilation to Python bytecode is used in
jinja..
is django default template also do this ?
which i see the reason why jinja faster.
mulianto
On Sun, Aug 14, 2011 at 6:19 AM, Reinout van Rees wrote:
> On 13-08-11 14:41, Phang Muli
On 13-08-11 14:41, Phang Mulianto wrote:
and i read about jinja template, why it can be faster than django
template engine ?
Jinja basically uses django's syntax, but (if my memory is correct) it
allows you to do more things than django's templates allows you to.
Is it faster? I thought ther
Hi all,
i need sugestion about templating.
if i use many include in django template, is it a good practice and effect
the load performance of the application ?
and i read about jinja template, why it can be faster than django template
engine ?
how many of you prefer jinja, and why ?
thanks all
Thanks Michael for your reply.
What I need is to present money values to end users online. If the
values are less than zero, then I need to put "-$" before them.
Otherwise I just put "$" there.
I will read your link and write a filter to do this.
Thanks again.
On Oct 16, 4:53 pm, "Michael P.
> I would like to use if clause to check if a number is nagative or not
> with template in my html file. I read related part in Django template
> online document however I did not find what I need.
>
> Is it possilbe to do this with built-in Django filter functions? Or do
> I have to install a thi
Hello,
I would like to use if clause to check if a number is nagative or not
with template in my html file. I read related part in Django template
online document however I did not find what I need.
Is it possilbe to do this with built-in Django filter functions? Or do
I have to install a third-
On Wed, 2009-03-18 at 17:05 -0400, Alex Gaynor wrote:
>
>
> On Wed, Mar 18, 2009 at 4:49 PM, Jason Wang
> wrote:
>
> Hi all,
>
> I have a problem where i have a list which stores a bunch of
> relevant
> key to another dictionary. I want to loop
On Wed, Mar 18, 2009 at 4:49 PM, Jason Wang wrote:
>
> Hi all,
>
> I have a problem where i have a list which stores a bunch of relevant
> key to another dictionary. I want to loop through the list and print
> out the information contained in the keys to output.
>
> Apparently it doesn't work.
>
Hi all,
I have a problem where i have a list which stores a bunch of relevant
key to another dictionary. I want to loop through the list and print
out the information contained in the keys to output.
Apparently it doesn't work.
So for example i have the following:
lst = ["a", "b"]
dic = {"a":1
17 matches
Mail list logo