Changes between Initial Version and Version 1 of Ticket #9330


Ignore:
Timestamp:
Oct 9, 2008, 4:50:22 AM (16 years ago)
Author:
Malcolm Tredinnick
Comment:

Unbreak description formatting (the preview button is your friend!).

What is the problem you are actually seeing here? Templates output strings, so there's no concept of a type in the output. What do you expect to see and what are you seeing? I suspect this is an incorrect expectation, rather than a bug, but if you could provide some more details that would be helpful.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9330 – Description

    initial v1  
    44
    55View code -
    6 
     6{{{
    77ids = getIds(id,project_slug)-> returns a list type (eg: ids = [11111L,222222L]
    88template_params = {'ids':ids}
    99return render_to_response(template, template_params,
    1010                              context_instance=RequestContext(request))
    11 
     11}}}
    1212Then in the view.html
     13{{{
    1314var ids = {{ ids }};
    14 
     15}}}
    1516But here it is having problems since it is considering as string data type.
    1617
Back to Top