MicroPyramid Blog

  • blog-category-djagno
  • blog-category-python
  • blog-category-mongodb
  • blog-categorya-ws
  • blog-categorya-ws

Django webpacker - A compression tool to bundles css, js files

django-webpacker is a django compressor tool which bundles css, js files to a single css, js file with webpack and updates your html files with respective css, js file path with a single management command. It also supports django-storages to load compressed css, js files from AWS S3.

Agile and Scrum Development Methodology Techniques

Agile Development Methodology for frequent inspections, meetings, reviews to deliver a quality product in a given time. Which is a widely used project management tool for any kind of organization.

How to use nested formsets in django

Django Formsets manage the complexity of multiple copies of a form in a view. By using formsets, you can know how many forms were their initially, which ones have been changed, and which ones should be deleted. In this blog post, we'll explain how nested formsets are used in django

How to convert xml content into json using xmltodict

We need to process large amounts of data to get the desired results from XML file. xmltodict will help you to process, give JSON formatted data within a less span of time. In this blog post, we'll explain to you how to use in a django project.

What's great about Django girls to inspire women into programming

Django girls is a non-profit organization, that helps women to learn Django programming language and to inspire them into programming. They are organizing workshops all over the world and they won't charge anything for the participants. Events are organized by volunteers in all cities. They are contributing their knowledge & time and few of volunteers are already working in IT industries.

Custom validations for serializer fields Django Rest Framework

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 process message queuing system by amazon SQS

Amazon Simple Queue Service (Amazon SQS) is a distributed messaging queue oriented service.
Queued items in SQS are called messages which are variable in size but can be no larger than 256KB. SQS doesn’t guarantee delivery order or that a message will be delivered only once. Using Visibility Timeout we can ensures once a message has been retrieved it will not be resent for a given period of time.

Understanding self and __init__ method in python Class.

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 Add A Custom Managers In Django

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.

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.

Need any Help in your Project?Let's Talk