MicroPyramid Blog

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

How to develop RESTful webservice in Django using Django REST framework?

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.

How to customize Django Oscar Models, Views and URL's

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 for Gitlab using PHP and Shell Scripts

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.

Why do we need testing before delivering a project

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.

How to use gulpjs to Minify css, js and convert less, scss to css

Gulp is a task runner which uses Node.js. For example concats javascript and css, minifies css and javascript. Gulp plug-ins are designed to do one thing only. It has basic functionality such as file watching built-in. It uses leaner, simpler JavaScript code, and Tasks are executed with maximum concurrency.

Elastic Search Security Measures

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

Integrate Django-Oscar-Accounts with Django-Oscar

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.

Configuring WordPress Blog as sub-directory alongside Django in Nginx

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.

Google plus API integration with django

Using GPlus integration, we can get the user verified email id, general information, friends in a less span of time, and user can also share articles.

These Following steps are needed for GPlus integration:
1. creating google app
2. Authenticating user and getting access token.
3. Get user information using access token.
4. Get user friends list.

Extract data from PDF and all Microsoft Office files in python

The quick way to get/extract text from PDFs in Python is with the Python library "slate". Slate is a Python package that simplifies the process of extracting text. In this post, we will see how to get/extract from pdf's.

Need any Help in your Project?Let's Talk