Changes between Initial Version and Version 1 of Ticket #9330


Ignore:
Timestamp:
10/09/08 04:50:22 (6 years ago)
Author:
mtredinnick
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

    • Property Needs documentation unset
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • 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