this is my template
I do have this address
and show a table where the second colum is a link to somewhere else, the problem is when I click it lunch me to
http://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 google
o do get
instead of just
google
is 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.
No comments:
Post a Comment