Noticias y Soluciones2018-07-26T03:05:01+00:00

Soluciones e información sobre IT & Desarrollo

Search Solutions

Searcher or Categories

Do you need to know how to do something?

Id you do not find you solution, just contact me.

Partners

Want to hire me?

Email me

gonzaloamadio@gmail.com

Free Ebook

Go to Ebook Section

FREE

Find some content organized into an ebook and enjoy

1707, 2019

React Children to Father Component Communication

By |julio 17th, 2019|Categories: React|Tags: , |0 Comments

In this post we are going to explain how to achieve the communication between two components. Particularly in this post we are going to show an example on how to achieve a children to father component communication, i.e. we have some data in a component that is contained inside another [...]

1011, 2018

Factory boy + Profile + Signals

By |noviembre 10th, 2018|Categories: Django, Testing|Tags: , , , , |0 Comments

Factory boy + Profile + Signals The problem for me was to create users and profiles with factory boy. I have a User model, and then two profiles, only one of each will be attached to the user. Only some relevant fields will be listed in the code. project.apps.authentication.models.py [...]

1505, 2018

URL – regex de patentes argentinas

By |mayo 15th, 2018|Categories: Django, Linux, Python, SysAdmin|Tags: |1 Comment

En este articulo encontraremos como formar regex de patentes argentinas. Primero la solución : [crayon-5d2f52ea1bc2d210861587/] La explicación : Los paréntesis son usados para clases de caracteres, es decir, un conjunto de caracteres que se quieren matchear. Los caracteres se pueden enumerar individualmente, o se puede indicar un rango de caracteres dando [...]

305, 2018

Override admin save method? – Add extra control to admin

By |mayo 3rd, 2018|Categories: Django|Tags: , |2 Comments

I need to Override admin save method, and add extra control to admin save method. I will present you one of three available methods What I wanted to achieve was adding some control when saving a instance of a model from the admin, because it is the only place [...]

2504, 2018

Ver campo Many2Many en Django Admin

By |abril 25th, 2018|Categories: Django, Python|Tags: , , |0 Comments

Queremos ver un campo Many2Many en Django Admin Si lo agregamos al list_field, nos va a dar un error del estilo [crayon-5d2f52ea1f071555067503/] Lo que debemos hacer es agregar un campo que llame a una funcion. La documentación de como hacer esto : https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display Dejo un código de ejemplo. El modelo: [crayon-5d2f52ea1f079328409203/] Y [...]

2404, 2018

A note on django signal pre_save

By |abril 24th, 2018|Categories: Django, Python|Tags: |1 Comment

I am testing on django signal pre_save, and I want to share a note on this. This is my example code. # -*- coding: utf-8 -*- from django.db import models from django.db.models.signals import pre_save from django.dispatch import receiver class Parameter(models.Model): """ Tabla de parametros, clave valor. """ def __init__(self, [...]

1904, 2018

Python – pass all arguments among functions, kwargs or locals()?

By |abril 19th, 2018|Categories: Python|Tags: , |0 Comments

  I was looking how to pass all arguments from un function to another. My scenario was : I want to do something linke GOF design pattern: chain of responsibility. Basically you have a list of functions, and you want to iterate over them, and execute one after another, passing [...]

1011, 2017

Django logging settings

By |noviembre 10th, 2017|Categories: Django|Tags: , , |0 Comments

Django 1.9+ logging settings : Copia y salí andando.   Dejo una configuración bastante buena, para mi, de como configurar login de django. Para entender que son los handlers, logger, format, filters , recomiendo leer la documentación, que es bastante corta. Lectura de 15 minutos : https://docs.djangoproject.com/en/1.11/topics/logging/ También para entender las [...]

1508, 2017

Oracle Read Only User ó Usuario de Sólo Lectura

By |agosto 15th, 2017|Categories: DBA, Oracle|Tags: |1 Comment

Oracle - Read Only User, o Usuario de Sólo Lectura En este post, vemos cómo crear un usuario Oracle Read Only ó de solo lectura. No es algo muy raro, pero no es algo que buscás y aparece rapidamente. Hay que buscar en la documentación o leer posts. Crear Usuario [...]

1207, 2017

IBM Storwize V3700 – Volumenes, Firmware, Mantenimiento

By |julio 12th, 2017|Categories: Redes, Storage|Tags: , , , , |1 Comment

En este artículo, vamos a condensar varias operaciones sobre el storage IBM Storwize V3700. Creacion y réplica de volumenes, Actualizacion Firmware y Mantenimiento (operaciones sobre nodos) […]