Posts by Leandro Markes • 66 points
5 posts
-
1
votes1
answer55
viewsA: Post with jquery
127.0.0.1 is the loopback address (also known as localhost). 0.0.0.0 is a non-transferable meta-address used to designate an invalid address. unknown, or destination not applicable (a 'no specific…
-
1
votes1
answer589
viewsA: How to handle an array in json format in classic Asp
In Asp I use the Aspjson component http://www.aspjson.com/ See the Reading: <!--#include virtual="/aspJSON1.17.asp" --> <% Set oJSON = New aspJSON 'Carregar a String…
-
0
votes1
answer63
viewsA: Django, special characters for HTML with content saved in the database
I’ve located the answer, HTML escape is enabled by default in Django templates. {% autoescape off %} <p class="text-gray-500">{{post.content}}</p> {% endautoescape %} That solved the…
-
0
votes1
answer63
viewsQ: Django, special characters for HTML with content saved in the database
Good morning, I have contents saved in HTML database: Field: content <p><img src="/media/django-summernote/2019-08-26/2ed93bb9-8293-4b98-9ccb-eeba931421b5.png" style="width: 255px; float:…
-
2
votes1
answer598
viewsQ: Django request.GET
Is there any simpler way to do that? if "id_parada" in request.GET: id_parada = request.GET["id_parada"] else: id_parada = ''