i guess you mean
{{for detail in details:}}
instead of
{{for detail*s* in details:}}
anyway
the python code is rendered in server before being sent to the view. so
your script cant change any of your python code output
You could use the ajax function to update a div content or better vuejs or
Guys is it possible to clear a list in a view using jquery?
Something like this:
*CODE EXAMPLE:*
{{if details:}}
{{for details in details:}}
{{=details.first_name}}
{{=details.last_name}}
{{pass}}
*$(function(){$('#close').click(function(e){{{details.clear()}};});});*
How can I achieve
2 matches
Mail list logo