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.
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.
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.
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.
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 .
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.
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.
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 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.
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.