All Questions

1
answer

Problem with Django multitenant rendering

I have a project called ripso_v2 in python3 and django 1.9 that by now has a couple of apps (created with the startapp and to which I added the file urls.py and forms.py) called "general" and "phva", the main folder of the project and a folder f...
asked on 03.02.2016 / 16:07
2
answers

Render a JSON in a bootstrap table Django REST framework

I have a model that I have called Empleado which has a foreign key to a model Direccion to keep a record of the employee's addresses. Serializer: from rest_framework import serializers from models import Empleado, Direccion...
asked on 03.02.2016 / 19:20
1
answer

Change the color of the status bar in minor versions to Android 5.0

I have a question about how to change the color of the status bar (StatusBar) of my application when the SDK version on the device is greater than or equal to 4.0 (API 14) . I currently have the following for when the SDK is greater than or...
asked on 18.01.2016 / 23:58
2
answers

Extend asp.net mvc 5 identity

I have to set up a login system and that this system can be reused in two mvc projects The model (according to the architecture) is as follows: User : usu, password, email Confirmed, etc. Client : userId, email, etc. Employee...
asked on 04.02.2016 / 06:35
1
answer

strtok of tabulator with 4 spaces C

I'm trying to parse a document, in which each line has strings separated by tabs (each tab > are 4 blank spaces), but when it comes to making a strtok I am not being able to recognize those blank spaces. This is the code snippe...
asked on 21.12.2018 / 12:57
4
answers

Doubt query sql from php with special characters

I hope you can help me with this doubt, Given the following php code that connects to a sql server database: $sql = "select * from tabla1 where campo1 like '%ñ%'" ; $datos = $this->objeto->listar() ; $numRegistros = sqlsrv_row_num($da...
asked on 14.12.2018 / 18:56
1
answer

Handling lists in python

I want to make a small application in python, what what to do is to be in the background listening to the messages it receives, to forward them to another array. I have a dictionary like this: from_to_redir = { "1447316562" : 1487212331,...
asked on 05.12.2018 / 15:36
2
answers

SELECT SCOPE_IDENTITY () in Oracle

This PROCEDURE is done in the MSSQL database engine and I need to pass it to ORACLE 11g: CREATE PROCEDURE [dbo].[Insert_User] @Username NVARCHAR(20), @Password NVARCHAR(20), @Email NVARCHAR(30) AS BEGIN SET NOCOUNT ON; IF EXISTS...
asked on 14.11.2018 / 16:14
2
answers

AmCharts - Decimal Rounding of the Mean

I am working with AmCharts. My chart is fully functional, and I want the median value to show. Here I put my code: "graphs": [ { "title": "Total Open Ratio %", "valueField": "def", "type": "line", "fillAlphas": 0.2,...
asked on 25.01.2016 / 13:08
1
answer

Migrate from Python2 to Python3.x?

I request support by migrating the version that is currently installed in "Azure" when creating an application in Django in " Kudu Engine ". The following image shows the installed version " Python 2.7.15 ". A thousand thanks     
asked on 28.11.2018 / 22:11