On 2010-09-15, at 17:49 , Pradnya wrote:
> hey thanks
>
> but that solution is fine for django 1.2 it's not working in 1.1
>
> is ther somting like split function that we can use in html template
You should probably just write your own tag (or a filter, that could be more
than enough, and it's
hey thanks
but that solution is fine for django 1.2 it's not working in 1.1
is ther somting like split function that we can use in html template
On Sep 15, 5:00 pm, Piotr Kilczuk wrote:
> Hi,
>
> > eg. I have test.html and I am passing {resut : 'test application for
> > test'}
> > now I want to
>> Wouldn't simply {% if application in resut %} display sth {% endif %} work?
>>
>> Regards,
>> Piotr
>
> Well there's always the issue that it's not a wordwise test, so you could
> have "applicationeering" in your result and it would still match.
True :)
Regards,
Piotr
--
You received this m
On 2010-09-15, at 17:30 , Piotr Kilczuk wrote:
> Hi,
>> eg. I have test.html and I am passing {resut : 'test application for
>> test'}
>> now I want to check if the world application is there on not in
>> result.
>>
>> Please suggest the simplest method without using filter. or somthing
>> similar
Hi,
> eg. I have test.html and I am passing {resut : 'test application for
> test'}
> now I want to check if the world application is there on not in
> result.
>
> Please suggest the simplest method without using filter. or somthing
> similar to slice
Wouldn't simply {% if application in resut %}
Hello,
I am using django 1.1 and want to find a word from the string passed
to the HTML template.
eg. I have test.html and I am passing {resut : 'test application for
test'}
now I want to check if the world application is there on not in
result.
Please suggest the simplest method without using f
6 matches
Mail list logo