MongoDB with Python - Connection establishment, Create, Update, Retrieve and Delete operations explained with sample code.
Generators are memory efficient. They allow us to code with minimum intermediate arguments, less data structures. Generators are of two types, generator expressions and generator functions. Generators are helpful for reading large files, streaming.
DjangoRestFramework is widely used to develop restful API. Django REST Framework is easy to use who are familiar with Django, as it is developed on the core concepts of Django. In the current blog post we’ll learn how to develop a RESTful API that performs CRUD operations on the DB.
In order to customize models, views and urls, you need to fork an Oscar core app in which model/view resides. Then you should be able to override any model/view classes.
Steps to fork/customize an app:
1. If you are forking an Oscar app for the first time, then you have to create a root apps-folder in which all your forked apps will exists:
Web-hooks play vital role if you are in Continuous Integration(CI). Higher Level organizations follow GitLab for CI purposes if they operate on open source solutions and at times every developer needs to check his code integrity. At times like that, web-hooks can help us.
Befor launching an application we should test the app to ensure that the application is working as per your requirement or not and to deliver defect free product on time, within the budget. If there is no testing, then there is no quality product.
After Installing Elastic Search in production, many new developers leave it unconfigured. In this Post, we will look into important config file changes and its implications
This package uses double-entry bookkeeping where every transaction is recorded twice (once for the source and once for the destination). This ensures the books always balance and there is full audit trail of all transactional activity.
Using regular expressions within Nginx we can bind urls to particular application servers, below we will configure wordpress blog and django site to be deployed on same domain name with each having their respective application servers i.e. ‘fastcgi’ for wordpress and ‘uwsgi’ for django.