django and I do not know how to sort this list by title order.
I'm using:
nuevo_json_array = sorted(json_array, key=itemgetter('oportunidad_json'))
[
{
'pk': 1
'oportunidad_json':OrderedDict([
('id',38441),...
I have this code js that receives two parameters day name what I want is to get them to another page called mad in which I send direct parameters to a service called days so that Bring me the results and paint them on a div called sample
$...
At the time of showing data only shows only one, this is my database:
When I want to show the supermarket business only the first one appears.
This is the code of the activity:
package com.example.emiliano.myfirstapp;
import andro...
I am new to AJAX and I have several problems. At this moment, I have a code to send data from a form by JQuery and with these, generate a query on the same page.
This is the HTML code (although I have it as .PHP):
<!DOCTYPE html>...
I am using models in SOAP UI to simulate a web service but for the moment the model always replies to me the same I want to know if it can be done that depending on what I send, I answered differently, for example:
I send this to you:
{"ite...
I am developing an API Rest with Jersey and
I am using JAXB and with the annotation @XmlRootElement
@XmlRootElement
public class Car {
private int idCar;
private String model;
private String color;
public Car() {
}...
I am currently having a problem in decoding PHP characters, I am calling an API using a file_get_contents () and then calling with a variable:
$jsondata = file_get_contents(URL DEL API);
$data = json_decode($jsondata, t...
I do not know why I do not recognize my products as I solve my error, my version is 2.7 of python thanks in advance
views.py
def comprar(request):
productos = literal_eval(request.POST["productos"])
pago = literal_eval(request....
I have a REST API that sends the following answer in json format and I want to go through it in order to add a listview to what I go through.
{
"resultado": "OK",
"datos": [
{
"Pago": "1500.00",
"Fecha": "2018-09-27"
},
{
"Pago": "900.00...