On Fri 13 Feb 2015 at 23:40 dk <demiank@gmail.com> wrote:
-- --this is my templateI do have this addressand show a table where the second colum is a link to somewhere else, the problem is when I click it lunch me tohttp://127.0.0.1:8000/mes/show_table/clickedLink and doesn't work.as an example if one of my links in the table is pointing to googleo do getinstead of justis there a tag or some magic in django to say just send me here?thanks guys.<table border="1" style="width: 100%">
{% for i in lista %}
<tr>
{% for j in i %}
{% if forloop.counter == 4 %}
<td style="background-color:blue"> <a href={{ j }} target="_blank" >{{ j }}</a> </td>
{% else %}
<td>{{ j }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c6ccb7e1-e202-45cc-a458-02b6c9029eea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACPst9%2BT9Nq-CfVsUHfpwXiysOCNiBq9M3SdXRd99r6puLf0gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment