All Questions

1
answer

Multiple filtering Django Rest Framework

I wanted to do a multiple filtering by url with the API Django Rest Framework that is to say that for example type www.domain.com/clientes/Nike/ES and return me all Nike customers from Spain, the thing is that I do not know how to cross the...
asked on 19.05.2016 / 11:02
1
answer

Group and show averages of a subquery that uses union

I have a table with the following data .. INSERT INTO Partido (nro,cod_local,gol_local,cod_visitante,gol_visitante) VALUES (1, 'AR', 2, 'CL', 1), (2, 'US', 0, 'CO', 2),...
asked on 19.06.2016 / 02:43
1
answer

Format with decimals

I have several vectors as arrays and from these vectors only 1 wish to put the state with decimals and thousands separator. How to do it without having to format the other columns? $Vec_PARTEVBLE[20][0]="f_creacion"; $Vec_PARTEVBLE[20][1]="...
asked on 27.04.2016 / 16:32
2
answers

Change background color of an input when it is not empty [jQuery]

Good people. I am trying to fill in an input itself change its background-color , this would have to be done dynamically, without having to click on a button or reload the page. I tried this, but it does not work: function ActiveInput...
asked on 30.05.2016 / 15:59
3
answers

Passing date and time JSON PHP format to Java

I have this JSON that comes from a PHP : [{"id":101,"date":{"timezone":{"name":"Europe\/Berlin","location": {"country_code":"DE","latitude":52.5,"longitude":13.36666,"comments":"most locations"}},"offset":7200,"timestamp":14712120...
asked on 24.04.2016 / 15:25
1
answer

DepDrop Widget Kartik Yii2

First consultation I do after removing the chestnuts a thousand times on this page, but I'm already somewhat desperate with a topic that should be or should be simple. Use DepDrop of the Kartik libraries for Yii2, an excellent job. I n...
asked on 09.03.2016 / 02:21
1
answer

Vagrant + Chef error

I have a centos instance mounted with vagrant but I am having problems to be able to provision git and composer. Let's see if you can throw me a cable. config.vm.provision "chef_solo" do |chef| chef.cookbooks_path = "cookbooks"...
asked on 14.04.2016 / 15:31
1
answer

Can you implement @import and @ font-face in the same project?

I downloaded the Fonts from Google Fonts and I want to know if it is possible to use @import and @ font-face in the same project in case one of the 2 ways to load fonts does not work. example: @import 'https://fonts.googleapis.com/css?fa...
asked on 22.06.2016 / 06:31
2
answers

Force two decimal places in input type="number"

I have been asked for something a bit weird, that the fields input numeric of a JSP page have 2 decimals by default. So far everything is normal: <input type="number" step="0.01" /> Now, the client wants the quantities to AL...
asked on 10.03.2016 / 12:54
1
answer

Swap rows between tables

I try to make it possible to send a row to another table from a modal with a table. Here is what I have advanced. link However, even if you send the row to another table it does not return to its original table when it is deleted. And I...
asked on 22.06.2016 / 08:02