MicroPyramid
Blog

A blog about Django, Python, mongo DB, LINUX, Amazon Web Services


LATEST BLOGS

Custom validations for serializer fields Django Rest Framework

Posted On 05 May 2017 By MicroPyramid

we can write custom validations for serializer fields in Django Rest Framework. Validators are used to validate the data whether it is semantically valid or not. Validation simplifies the data processing. Validation avoids the data redundancy .

How To Add A Custom Managers In Django

Posted On 05 May 2017 By MicroPyramid

Django Custom Managers - A Manager is the interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application. You can use a custom Manager in a particular model by extending the base Manager class and instantiating your custom Manager in your model. There are two reasons you might want to customize a Manager: to add extra Manager methods, and/or to modify the initial QuerySet the Manager returns.

Deploying Wordpress blog with Django using Docker Containers.

Posted On 05 May 2017 By MicroPyramid

Containers run services in an isolated environment, if we deploy our applications using containers then the host system on which these containers are running will not be affected even though the applications running within containers are being hacked.

Understanding self and __init__ method in python Class.

Posted On 05 May 2017 By MicroPyramid

Understand self and __init__ method in python Class?
Before understanding the "self" and "__init__" methods in python class, it's very helpful if we have the idea of what is a class and object.
Object :
object is one of instances of the class. which can perform the functionalities which are defined in the class.
self :
self represents the instance of the class. By using the "self" keyword we can access the attributes and methods of the class in python.

How to process message queuing system by amazon SQS

Posted On 05 May 2017 By MicroPyramid

How to process attributes of message queuing system by amazon SQS using Boto3

How to setup http password authentication with nginx

Posted On 01 March 2017 By MicroPyramid

HTTP Authentication is used to allow access limit to a site or particular directories by validating the username and password. HTTP basic authentication can also be combined with other access restriction methods, for example, restricting access by IP address or by geographical location.

React Component Lifecycle methods

Posted On 23 February 2017 By MicroPyramid

React provides some specific methods which are executed when specific condition triggered in component. basically these methods are divided into 3 parts mounting component, updating component data and un-mounting component.

Assign public IP address to Docker Container without port binding.

Posted On 13 February 2017 By MicroPyramid

MACVLAN creates multiple virtual network interfaces with different MAC addresses. This way if your system has multiple IP addresses with MAC addresses then we can create multiple virtual network interfaces each having their own IP address and MAC address.

Understanding ReactJs Component, State and Props

Posted On 09 February 2017 By MicroPyramid

ReactJs is populer JS script library for building User Interface. It's components are reusable and efficiently manages the data that changes over time. In this blog post i am going to discuss component, state, props in ReactJS.

Gitlab and Docker - Continuous Integration, Deployment and Continuous Delivery

Posted On 06 February 2017 By MicroPyramid

In this blog post, we will learn how to setup and use gitlab container registry to implement, test build and deploy your code automatically with Docker.

Need any Help in your Project?Let's Talk